brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/WheelSettings.gen.cs
2026-10-15 14:12:02 +13:00

416 lines
23 KiB
C#

// <auto-generated/>
// 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();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L20">Jolt/Physics/Vehicle/Wheel.h:20</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetRTTI")]
public static partial RTTI WheelSettings_GetRTTI(WheelSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L20">Jolt/Physics/Vehicle/Wheel.h:20</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_CastTo")]
public static partial void* WheelSettings_CastTo(WheelSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L24">Jolt/Physics/Vehicle/Wheel.h:24</see>
/// <br/>
/// <c>virtual void SaveBinaryState(StreamOut &amp;inStream) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Saves the contents in binary form to inStream.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SaveBinaryState")]
public static partial void WheelSettings_SaveBinaryState(WheelSettings self, StreamOut stream);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L27">Jolt/Physics/Vehicle/Wheel.h:27</see>
/// <br/>
/// <c>virtual void RestoreBinaryState(StreamIn &amp;inStream)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Restores the contents in binary form to inStream.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "WheelSettings_RestoreBinaryState")]
public static partial void WheelSettings_RestoreBinaryState(WheelSettings self, StreamIn stream);
/// <summary>
/// <para>
/// Attachment point of wheel suspension in local space of the body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L29">Jolt/Physics/Vehicle/Wheel.h:29</see>
/// <br/>
/// <c>Vec3 mPosition { 0, 0, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetPosition")]
public static partial float3 WheelSettings_GetPosition(WheelSettings self);
/// <summary>
/// <para>
/// Attachment point of wheel suspension in local space of the body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L29">Jolt/Physics/Vehicle/Wheel.h:29</see>
/// <br/>
/// <c>Vec3 mPosition { 0, 0, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetPosition")]
public static partial void WheelSettings_SetPosition(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L30">Jolt/Physics/Vehicle/Wheel.h:30</see>
/// <br/>
/// <c>Vec3 mSuspensionForcePoint { 0, 0, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionForcePoint")]
public static partial float3 WheelSettings_GetSuspensionForcePoint(WheelSettings self);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L30">Jolt/Physics/Vehicle/Wheel.h:30</see>
/// <br/>
/// <c>Vec3 mSuspensionForcePoint { 0, 0, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionForcePoint")]
public static partial void WheelSettings_SetSuspensionForcePoint(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// Direction of the suspension in local space of the body, should point down
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L31">Jolt/Physics/Vehicle/Wheel.h:31</see>
/// <br/>
/// <c>Vec3 mSuspensionDirection { 0, -1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionDirection")]
public static partial float3 WheelSettings_GetSuspensionDirection(WheelSettings self);
/// <summary>
/// <para>
/// Direction of the suspension in local space of the body, should point down
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L31">Jolt/Physics/Vehicle/Wheel.h:31</see>
/// <br/>
/// <c>Vec3 mSuspensionDirection { 0, -1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionDirection")]
public static partial void WheelSettings_SetSuspensionDirection(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// Direction of the steering axis in local space of the body, should point up (e.g. for a bike would be
/// -mSuspensionDirection)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L32">Jolt/Physics/Vehicle/Wheel.h:32</see>
/// <br/>
/// <c>Vec3 mSteeringAxis { 0, 1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSteeringAxis")]
public static partial float3 WheelSettings_GetSteeringAxis(WheelSettings self);
/// <summary>
/// <para>
/// Direction of the steering axis in local space of the body, should point up (e.g. for a bike would be
/// -mSuspensionDirection)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L32">Jolt/Physics/Vehicle/Wheel.h:32</see>
/// <br/>
/// <c>Vec3 mSteeringAxis { 0, 1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSteeringAxis")]
public static partial void WheelSettings_SetSteeringAxis(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// 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)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L33">Jolt/Physics/Vehicle/Wheel.h:33</see>
/// <br/>
/// <c>Vec3 mWheelUp { 0, 1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWheelUp")]
public static partial float3 WheelSettings_GetWheelUp(WheelSettings self);
/// <summary>
/// <para>
/// 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)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L33">Jolt/Physics/Vehicle/Wheel.h:33</see>
/// <br/>
/// <c>Vec3 mWheelUp { 0, 1, 0 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWheelUp")]
public static partial void WheelSettings_SetWheelUp(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// 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)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L34">Jolt/Physics/Vehicle/Wheel.h:34</see>
/// <br/>
/// <c>Vec3 mWheelForward { 0, 0, 1 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWheelForward")]
public static partial float3 WheelSettings_GetWheelForward(WheelSettings self);
/// <summary>
/// <para>
/// 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)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L34">Jolt/Physics/Vehicle/Wheel.h:34</see>
/// <br/>
/// <c>Vec3 mWheelForward { 0, 0, 1 }</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWheelForward")]
public static partial void WheelSettings_SetWheelForward(WheelSettings self, float3 value);
/// <summary>
/// <para>
/// How long the suspension is in max raised position relative to the attachment point (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L35">Jolt/Physics/Vehicle/Wheel.h:35</see>
/// <br/>
/// <c>float mSuspensionMinLength = 0.3f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionMinLength")]
public static partial float WheelSettings_GetSuspensionMinLength(WheelSettings self);
/// <summary>
/// <para>
/// How long the suspension is in max raised position relative to the attachment point (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L35">Jolt/Physics/Vehicle/Wheel.h:35</see>
/// <br/>
/// <c>float mSuspensionMinLength = 0.3f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionMinLength")]
public static partial void WheelSettings_SetSuspensionMinLength(WheelSettings self, float value);
/// <summary>
/// <para>
/// How long the suspension is in max droop position relative to the attachment point (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L36">Jolt/Physics/Vehicle/Wheel.h:36</see>
/// <br/>
/// <c>float mSuspensionMaxLength = 0.5f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionMaxLength")]
public static partial float WheelSettings_GetSuspensionMaxLength(WheelSettings self);
/// <summary>
/// <para>
/// How long the suspension is in max droop position relative to the attachment point (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L36">Jolt/Physics/Vehicle/Wheel.h:36</see>
/// <br/>
/// <c>float mSuspensionMaxLength = 0.5f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionMaxLength")]
public static partial void WheelSettings_SetSuspensionMaxLength(WheelSettings self, float value);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L37">Jolt/Physics/Vehicle/Wheel.h:37</see>
/// <br/>
/// <c>float mSuspensionPreloadLength = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetSuspensionPreloadLength")]
public static partial float WheelSettings_GetSuspensionPreloadLength(WheelSettings self);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L37">Jolt/Physics/Vehicle/Wheel.h:37</see>
/// <br/>
/// <c>float mSuspensionPreloadLength = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetSuspensionPreloadLength")]
public static partial void WheelSettings_SetSuspensionPreloadLength(WheelSettings self, float value);
/// <summary>
/// <para>
/// Radius of the wheel (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L39">Jolt/Physics/Vehicle/Wheel.h:39</see>
/// <br/>
/// <c>float mRadius = 0.3f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetRadius")]
public static partial float WheelSettings_GetRadius(WheelSettings self);
/// <summary>
/// <para>
/// Radius of the wheel (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L39">Jolt/Physics/Vehicle/Wheel.h:39</see>
/// <br/>
/// <c>float mRadius = 0.3f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetRadius")]
public static partial void WheelSettings_SetRadius(WheelSettings self, float value);
/// <summary>
/// <para>
/// Width of the wheel (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L40">Jolt/Physics/Vehicle/Wheel.h:40</see>
/// <br/>
/// <c>float mWidth = 0.1f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetWidth")]
public static partial float WheelSettings_GetWidth(WheelSettings self);
/// <summary>
/// <para>
/// Width of the wheel (m)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L40">Jolt/Physics/Vehicle/Wheel.h:40</see>
/// <br/>
/// <c>float mWidth = 0.1f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_SetWidth")]
public static partial void WheelSettings_SetWidth(WheelSettings self, float value);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L41">Jolt/Physics/Vehicle/Wheel.h:41</see>
/// <br/>
/// <c>bool mEnableSuspensionForcePoint = false</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettings_GetEnableSuspensionForcePoint")]
public static partial Brutal.Bool8 WheelSettings_GetEnableSuspensionForcePoint(WheelSettings self);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/Wheel.h#L41">Jolt/Physics/Vehicle/Wheel.h:41</see>
/// <br/>
/// <c>bool mEnableSuspensionForcePoint = false</c>
/// </para>
/// </summary>
[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);
}
}
}