// // 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 { [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_Create")] public static partial VehicleConstraintSettings VehicleConstraintSettings_Create(); /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:25 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetRTTI")] public static partial RTTI VehicleConstraintSettings_GetRTTI(VehicleConstraintSettings self); /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:25 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_CastTo")] public static partial void* VehicleConstraintSettings_CastTo(VehicleConstraintSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:29 ///
/// virtual void SaveBinaryState(StreamOut &inStream) const override ///
///
/// /// /// Saves the contents of the constraint settings in binary form to inStream. /// /// [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SaveBinaryState")] public static partial void VehicleConstraintSettings_SaveBinaryState(VehicleConstraintSettings self, StreamOut stream); /// /// /// Vector indicating the up direction of the vehicle (in local space to the body) /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:31 ///
/// Vec3 mUp { 0, 1, 0 } ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetUp")] public static partial float3 VehicleConstraintSettings_GetUp(VehicleConstraintSettings self); /// /// /// Vector indicating the up direction of the vehicle (in local space to the body) /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:31 ///
/// Vec3 mUp { 0, 1, 0 } ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetUp")] public static partial void VehicleConstraintSettings_SetUp(VehicleConstraintSettings self, float3 value); /// /// /// Vector indicating forward direction of the vehicle (in local space to the body) /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:32 ///
/// Vec3 mForward { 0, 0, 1 } ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetForward")] public static partial float3 VehicleConstraintSettings_GetForward(VehicleConstraintSettings self); /// /// /// Vector indicating forward direction of the vehicle (in local space to the body) /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:32 ///
/// Vec3 mForward { 0, 0, 1 } ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetForward")] public static partial void VehicleConstraintSettings_SetForward(VehicleConstraintSettings self, float3 value); /// /// /// Defines the maximum pitch/roll angle (rad), can be used to avoid the car from getting upside down. /// The vehicle up direction will stay within a cone centered around the up axis with half top angle /// mMaxPitchRollAngle, set to pi to turn off. /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:33 ///
/// float mMaxPitchRollAngle = JPH_PI ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetMaxPitchRollAngle")] public static partial float VehicleConstraintSettings_GetMaxPitchRollAngle(VehicleConstraintSettings self); /// /// /// Defines the maximum pitch/roll angle (rad), can be used to avoid the car from getting upside down. /// The vehicle up direction will stay within a cone centered around the up axis with half top angle /// mMaxPitchRollAngle, set to pi to turn off. /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:33 ///
/// float mMaxPitchRollAngle = JPH_PI ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetMaxPitchRollAngle")] public static partial void VehicleConstraintSettings_SetMaxPitchRollAngle(VehicleConstraintSettings self, float value); /// /// /// Defines how the vehicle can accelerate / decelerate /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:36 ///
/// Ref<VehicleControllerSettings> mController ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetController")] public static partial VehicleControllerSettings VehicleConstraintSettings_GetController(VehicleConstraintSettings self); /// /// /// Defines how the vehicle can accelerate / decelerate /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleConstraint.h:36 ///
/// Ref<VehicleControllerSettings> mController ///
///
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetController")] public static partial void VehicleConstraintSettings_SetController(VehicleConstraintSettings self, VehicleControllerSettings value); [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_AddRef")] public static partial void VehicleConstraintSettings_AddRef(VehicleConstraintSettings self); [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_Release")] public static partial void VehicleConstraintSettings_Release(VehicleConstraintSettings self); [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetRefCount")] public static partial uint VehicleConstraintSettings_GetRefCount(VehicleConstraintSettings self); [LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_AsConstraintSettings")] public static partial ConstraintSettings VehicleConstraintSettings_AsConstraintSettings(VehicleConstraintSettings self); } } }