brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/VehicleTrack.gen.cs
2026-10-15 14:12:02 +13:00

53 lines
2.2 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L44">Jolt/Physics/Vehicle/VehicleTrack.h:44</see>
/// <br/>
/// <c>class VehicleTrack : public VehicleTrackSettings</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Runtime data for tank tracks
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct VehicleTrack : IDisposable
{
public static VehicleTrack Create() => Jolt.PInvoke.VehicleTrack_Create();
/// <summary>
/// <para>
/// Angular velocity of the driven wheel, will determine the speed of the entire track
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L51">Jolt/Physics/Vehicle/VehicleTrack.h:51</see>
/// <br/>
/// <c>float mAngularVelocity = 0.0f</c>
/// </para>
/// </summary>
public float GetAngularVelocity() => Jolt.PInvoke.VehicleTrack_GetAngularVelocity(this);
/// <summary>
/// <para>
/// Angular velocity of the driven wheel, will determine the speed of the entire track
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L51">Jolt/Physics/Vehicle/VehicleTrack.h:51</see>
/// <br/>
/// <c>float mAngularVelocity = 0.0f</c>
/// </para>
/// </summary>
public void SetAngularVelocity(float value) => Jolt.PInvoke.VehicleTrack_SetAngularVelocity(this, value);
public static implicit operator VehicleTrackSettings(VehicleTrack value) => Jolt.PInvoke.VehicleTrack_AsVehicleTrackSettings(value);
public void Dispose() => Jolt.PInvoke.VehicleTrack_Destroy(this);
}
}