// // 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/TrackedVehicleController.h:59 ///
/// class TrackedVehicleControllerSettings : public VehicleControllerSettings ///
///
/// /// /// Settings of a vehicle with tank tracks /// /// Default settings are based around what I could find about the M1 Abrams tank. /// Note to avoid issues with very heavy objects vs very light objects the mass of the tank should be a lot lower (say 10x) than that of a real tank. That means that the engine/brake torque is also 10x less. /// /// [InteropHandle] public readonly partial struct TrackedVehicleControllerSettings : IDisposable { /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:65 ///
/// TrackedVehicleControllerSettings() ///
///
/// /// /// Constructor /// /// public static TrackedVehicleControllerSettings Create() => Jolt.PInvoke.TrackedVehicleControllerSettings_Create(); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:61 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// public RTTI GetRTTI() => Jolt.PInvoke.TrackedVehicleControllerSettings_GetRTTI(this); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:61 ///
/// ///
///
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.TrackedVehicleControllerSettings_CastTo(this, rTTI); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:69 ///
/// virtual void SaveBinaryState(StreamOut &inStream) const override ///
///
public void SaveBinaryState(StreamOut stream) => Jolt.PInvoke.TrackedVehicleControllerSettings_SaveBinaryState(this, stream); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:70 ///
/// virtual void RestoreBinaryState(StreamIn &inStream) override ///
///
public void RestoreBinaryState(StreamIn stream) => Jolt.PInvoke.TrackedVehicleControllerSettings_RestoreBinaryState(this, stream); public void AddRef() => Jolt.PInvoke.TrackedVehicleControllerSettings_AddRef(this); public void Release() => Jolt.PInvoke.TrackedVehicleControllerSettings_Release(this); public uint GetRefCount() => Jolt.PInvoke.TrackedVehicleControllerSettings_GetRefCount(this); public static implicit operator VehicleControllerSettings(TrackedVehicleControllerSettings value) => Jolt.PInvoke.TrackedVehicleControllerSettings_AsVehicleControllerSettings(value); public void Dispose() { if (IsNull()) return; Release(); } } }