// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleTrack.h:44 ///
/// class VehicleTrack : public VehicleTrackSettings ///
///
/// /// /// Runtime data for tank tracks /// /// [InteropHandle] public readonly partial struct VehicleTrack : IDisposable { public static VehicleTrack Create() => Jolt.PInvoke.VehicleTrack_Create(); /// /// /// Angular velocity of the driven wheel, will determine the speed of the entire track /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleTrack.h:51 ///
/// float mAngularVelocity = 0.0f ///
///
public float GetAngularVelocity() => Jolt.PInvoke.VehicleTrack_GetAngularVelocity(this); /// /// /// Angular velocity of the driven wheel, will determine the speed of the entire track /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleTrack.h:51 ///
/// float mAngularVelocity = 0.0f ///
///
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); } }