// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { public static partial class Jolt { public static unsafe partial class PInvoke { /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:25 ///
/// WheelSettingsWV() ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_Create")] public static partial WheelSettingsWV WheelSettingsWV_Create(); /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:21 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetRTTI")] public static partial RTTI WheelSettingsWV_GetRTTI(WheelSettingsWV self); /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:21 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_CastTo")] public static partial void* WheelSettingsWV_CastTo(WheelSettingsWV self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:28 ///
/// virtual void SaveBinaryState(StreamOut &inStream) const override ///
///
/// /// /// See: WheelSettings /// /// [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SaveBinaryState")] public static partial void WheelSettingsWV_SaveBinaryState(WheelSettingsWV self, StreamOut stream); /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:29 ///
/// virtual void RestoreBinaryState(StreamIn &inStream) override ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_RestoreBinaryState")] public static partial void WheelSettingsWV_RestoreBinaryState(WheelSettingsWV self, StreamIn stream); /// /// /// Moment of inertia (kg m^2), for a cylinder this would be 0.5 * M * R^2 which is 0.9 for a wheel with /// a mass of 20 kg and radius 0.3 m /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:31 ///
/// float mInertia = 0.9f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetInertia")] public static partial float WheelSettingsWV_GetInertia(WheelSettingsWV self); /// /// /// Moment of inertia (kg m^2), for a cylinder this would be 0.5 * M * R^2 which is 0.9 for a wheel with /// a mass of 20 kg and radius 0.3 m /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:31 ///
/// float mInertia = 0.9f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetInertia")] public static partial void WheelSettingsWV_SetInertia(WheelSettingsWV self, float value); /// /// /// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually /// close to 0. /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:32 ///
/// float mAngularDamping = 0.2f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetAngularDamping")] public static partial float WheelSettingsWV_GetAngularDamping(WheelSettingsWV self); /// /// /// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually /// close to 0. /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:32 ///
/// float mAngularDamping = 0.2f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetAngularDamping")] public static partial void WheelSettingsWV_SetAngularDamping(WheelSettingsWV self, float value); /// /// /// How much this wheel can steer (radians) /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:33 ///
/// float mMaxSteerAngle = DegreesToRadians(70.0f) ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxSteerAngle")] public static partial float WheelSettingsWV_GetMaxSteerAngle(WheelSettingsWV self); /// /// /// How much this wheel can steer (radians) /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:33 ///
/// float mMaxSteerAngle = DegreesToRadians(70.0f) ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetMaxSteerAngle")] public static partial void WheelSettingsWV_SetMaxSteerAngle(WheelSettingsWV self, float value); /// /// /// How much torque (Nm) the brakes can apply to this wheel /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:36 ///
/// float mMaxBrakeTorque = 1500.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxBrakeTorque")] public static partial float WheelSettingsWV_GetMaxBrakeTorque(WheelSettingsWV self); /// /// /// How much torque (Nm) the brakes can apply to this wheel /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:36 ///
/// float mMaxBrakeTorque = 1500.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetMaxBrakeTorque")] public static partial void WheelSettingsWV_SetMaxBrakeTorque(WheelSettingsWV self, float value); /// /// /// How much torque (Nm) the hand brake can apply to this wheel (usually only applied to the rear /// wheels) /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:37 ///
/// float mMaxHandBrakeTorque = 4000.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxHandBrakeTorque")] public static partial float WheelSettingsWV_GetMaxHandBrakeTorque(WheelSettingsWV self); /// /// /// How much torque (Nm) the hand brake can apply to this wheel (usually only applied to the rear /// wheels) /// /// /// C++: /// Jolt/Physics/Vehicle/WheeledVehicleController.h:37 ///
/// float mMaxHandBrakeTorque = 4000.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetMaxHandBrakeTorque")] public static partial void WheelSettingsWV_SetMaxHandBrakeTorque(WheelSettingsWV self, float value); [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_AddRef")] public static partial void WheelSettingsWV_AddRef(WheelSettingsWV self); [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_Release")] public static partial void WheelSettingsWV_Release(WheelSettingsWV self); [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetRefCount")] public static partial uint WheelSettingsWV_GetRefCount(WheelSettingsWV self); [LibraryImport("jolt", EntryPoint = "WheelSettingsWV_AsWheelSettings")] public static partial WheelSettings WheelSettingsWV_AsWheelSettings(WheelSettingsWV self); } } }