//
// 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 = "WheelSettings_Create")]
public static partial WheelSettings WheelSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:20
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetRTTI")]
public static partial RTTI WheelSettings_GetRTTI(WheelSettings self);
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:20
///
///
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_CastTo")]
public static partial void* WheelSettings_CastTo(WheelSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:24
///
/// virtual void SaveBinaryState(StreamOut &inStream) const
///
///
///
///
/// Saves the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SaveBinaryState")]
public static partial void WheelSettings_SaveBinaryState(WheelSettings self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:27
///
/// virtual void RestoreBinaryState(StreamIn &inStream)
///
///
///
///
/// Restores the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_RestoreBinaryState")]
public static partial void WheelSettings_RestoreBinaryState(WheelSettings self, StreamIn stream);
///
///
/// Attachment point of wheel suspension in local space of the body
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:29
///
/// Vec3 mPosition { 0, 0, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetPosition")]
public static partial float3 WheelSettings_GetPosition(WheelSettings self);
///
///
/// Attachment point of wheel suspension in local space of the body
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:29
///
/// Vec3 mPosition { 0, 0, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetPosition")]
public static partial void WheelSettings_SetPosition(WheelSettings self, float3 value);
///
///
/// Where tire forces (suspension and traction) are applied, in local space of the body. A good default
/// is the center of the wheel in its neutral pose. See mEnableSuspensionForcePoint.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:30
///
/// Vec3 mSuspensionForcePoint { 0, 0, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionForcePoint")]
public static partial float3 WheelSettings_GetSuspensionForcePoint(WheelSettings self);
///
///
/// Where tire forces (suspension and traction) are applied, in local space of the body. A good default
/// is the center of the wheel in its neutral pose. See mEnableSuspensionForcePoint.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:30
///
/// Vec3 mSuspensionForcePoint { 0, 0, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionForcePoint")]
public static partial void WheelSettings_SetSuspensionForcePoint(WheelSettings self, float3 value);
///
///
/// Direction of the suspension in local space of the body, should point down
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:31
///
/// Vec3 mSuspensionDirection { 0, -1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionDirection")]
public static partial float3 WheelSettings_GetSuspensionDirection(WheelSettings self);
///
///
/// Direction of the suspension in local space of the body, should point down
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:31
///
/// Vec3 mSuspensionDirection { 0, -1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionDirection")]
public static partial void WheelSettings_SetSuspensionDirection(WheelSettings self, float3 value);
///
///
/// Direction of the steering axis in local space of the body, should point up (e.g. for a bike would be
/// -mSuspensionDirection)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:32
///
/// Vec3 mSteeringAxis { 0, 1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSteeringAxis")]
public static partial float3 WheelSettings_GetSteeringAxis(WheelSettings self);
///
///
/// Direction of the steering axis in local space of the body, should point up (e.g. for a bike would be
/// -mSuspensionDirection)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:32
///
/// Vec3 mSteeringAxis { 0, 1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSteeringAxis")]
public static partial void WheelSettings_SetSteeringAxis(WheelSettings self, float3 value);
///
///
/// Up direction when the wheel is in the neutral steering position (usually
/// VehicleConstraintSettings::mUp but can be used to give the wheel camber or for a bike would be
/// -mSuspensionDirection)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:33
///
/// Vec3 mWheelUp { 0, 1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWheelUp")]
public static partial float3 WheelSettings_GetWheelUp(WheelSettings self);
///
///
/// Up direction when the wheel is in the neutral steering position (usually
/// VehicleConstraintSettings::mUp but can be used to give the wheel camber or for a bike would be
/// -mSuspensionDirection)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:33
///
/// Vec3 mWheelUp { 0, 1, 0 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWheelUp")]
public static partial void WheelSettings_SetWheelUp(WheelSettings self, float3 value);
///
///
/// Forward direction when the wheel is in the neutral steering position (usually
/// VehicleConstraintSettings::mForward but can be used to give the wheel toe, does not need to be
/// perpendicular to mWheelUp)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:34
///
/// Vec3 mWheelForward { 0, 0, 1 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWheelForward")]
public static partial float3 WheelSettings_GetWheelForward(WheelSettings self);
///
///
/// Forward direction when the wheel is in the neutral steering position (usually
/// VehicleConstraintSettings::mForward but can be used to give the wheel toe, does not need to be
/// perpendicular to mWheelUp)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:34
///
/// Vec3 mWheelForward { 0, 0, 1 }
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWheelForward")]
public static partial void WheelSettings_SetWheelForward(WheelSettings self, float3 value);
///
///
/// How long the suspension is in max raised position relative to the attachment point (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:35
///
/// float mSuspensionMinLength = 0.3f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionMinLength")]
public static partial float WheelSettings_GetSuspensionMinLength(WheelSettings self);
///
///
/// How long the suspension is in max raised position relative to the attachment point (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:35
///
/// float mSuspensionMinLength = 0.3f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionMinLength")]
public static partial void WheelSettings_SetSuspensionMinLength(WheelSettings self, float value);
///
///
/// How long the suspension is in max droop position relative to the attachment point (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:36
///
/// float mSuspensionMaxLength = 0.5f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionMaxLength")]
public static partial float WheelSettings_GetSuspensionMaxLength(WheelSettings self);
///
///
/// How long the suspension is in max droop position relative to the attachment point (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:36
///
/// float mSuspensionMaxLength = 0.5f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionMaxLength")]
public static partial void WheelSettings_SetSuspensionMaxLength(WheelSettings self, float value);
///
///
/// The natural length (m) of the suspension spring is defined as mSuspensionMaxLength +
/// mSuspensionPreloadLength. Can be used to preload the suspension as the spring is compressed by
/// mSuspensionPreloadLength when the suspension is in max droop position. Note that this means when the
/// vehicle touches the ground there is a discontinuity so it will also make the vehicle more bouncy as
/// we're updating with discrete time steps.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:37
///
/// float mSuspensionPreloadLength = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionPreloadLength")]
public static partial float WheelSettings_GetSuspensionPreloadLength(WheelSettings self);
///
///
/// The natural length (m) of the suspension spring is defined as mSuspensionMaxLength +
/// mSuspensionPreloadLength. Can be used to preload the suspension as the spring is compressed by
/// mSuspensionPreloadLength when the suspension is in max droop position. Note that this means when the
/// vehicle touches the ground there is a discontinuity so it will also make the vehicle more bouncy as
/// we're updating with discrete time steps.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:37
///
/// float mSuspensionPreloadLength = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionPreloadLength")]
public static partial void WheelSettings_SetSuspensionPreloadLength(WheelSettings self, float value);
///
///
/// Radius of the wheel (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:39
///
/// float mRadius = 0.3f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetRadius")]
public static partial float WheelSettings_GetRadius(WheelSettings self);
///
///
/// Radius of the wheel (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:39
///
/// float mRadius = 0.3f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetRadius")]
public static partial void WheelSettings_SetRadius(WheelSettings self, float value);
///
///
/// Width of the wheel (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:40
///
/// float mWidth = 0.1f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWidth")]
public static partial float WheelSettings_GetWidth(WheelSettings self);
///
///
/// Width of the wheel (m)
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:40
///
/// float mWidth = 0.1f
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWidth")]
public static partial void WheelSettings_SetWidth(WheelSettings self, float value);
///
///
/// Enables mSuspensionForcePoint, if disabled, the forces are applied at the collision contact point.
/// This leads to a more accurate simulation when interacting with dynamic objects but makes the vehicle
/// less stable. When setting this to true, all forces will be applied to a fixed point on the vehicle
/// body.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:41
///
/// bool mEnableSuspensionForcePoint = false
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetEnableSuspensionForcePoint")]
public static partial Brutal.Bool8 WheelSettings_GetEnableSuspensionForcePoint(WheelSettings self);
///
///
/// Enables mSuspensionForcePoint, if disabled, the forces are applied at the collision contact point.
/// This leads to a more accurate simulation when interacting with dynamic objects but makes the vehicle
/// less stable. When setting this to true, all forces will be applied to a fixed point on the vehicle
/// body.
///
///
/// C++:
/// Jolt/Physics/Vehicle/Wheel.h:41
///
/// bool mEnableSuspensionForcePoint = false
///
///
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetEnableSuspensionForcePoint")]
public static partial void WheelSettings_SetEnableSuspensionForcePoint(WheelSettings self, Brutal.Bool8 value);
[LibraryImport("jolt", EntryPoint = "WheelSettings_AddRef")]
public static partial void WheelSettings_AddRef(WheelSettings self);
[LibraryImport("jolt", EntryPoint = "WheelSettings_Release")]
public static partial void WheelSettings_Release(WheelSettings self);
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetRefCount")]
public static partial uint WheelSettings_GetRefCount(WheelSettings self);
}
}
}