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

224 lines
12 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L25">Jolt/Physics/Vehicle/WheeledVehicleController.h:25</see>
/// <br/>
/// <c>WheelSettingsWV()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_Create")]
public static partial WheelSettingsWV WheelSettingsWV_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L21">Jolt/Physics/Vehicle/WheeledVehicleController.h:21</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 = "WheelSettingsWV_GetRTTI")]
public static partial RTTI WheelSettingsWV_GetRTTI(WheelSettingsWV self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L21">Jolt/Physics/Vehicle/WheeledVehicleController.h:21</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_CastTo")]
public static partial void* WheelSettingsWV_CastTo(WheelSettingsWV self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L28">Jolt/Physics/Vehicle/WheeledVehicleController.h:28</see>
/// <br/>
/// <c>virtual void SaveBinaryState(StreamOut &amp;inStream) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: WheelSettings
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SaveBinaryState")]
public static partial void WheelSettingsWV_SaveBinaryState(WheelSettingsWV self, StreamOut stream);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L29">Jolt/Physics/Vehicle/WheeledVehicleController.h:29</see>
/// <br/>
/// <c>virtual void RestoreBinaryState(StreamIn &amp;inStream) override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_RestoreBinaryState")]
public static partial void WheelSettingsWV_RestoreBinaryState(WheelSettingsWV self, StreamIn stream);
/// <summary>
/// <para>
/// 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
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L31">Jolt/Physics/Vehicle/WheeledVehicleController.h:31</see>
/// <br/>
/// <c>float mInertia = 0.9f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetInertia")]
public static partial float WheelSettingsWV_GetInertia(WheelSettingsWV self);
/// <summary>
/// <para>
/// 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
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L31">Jolt/Physics/Vehicle/WheeledVehicleController.h:31</see>
/// <br/>
/// <c>float mInertia = 0.9f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetInertia")]
public static partial void WheelSettingsWV_SetInertia(WheelSettingsWV self, float value);
/// <summary>
/// <para>
/// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually
/// close to 0.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L32">Jolt/Physics/Vehicle/WheeledVehicleController.h:32</see>
/// <br/>
/// <c>float mAngularDamping = 0.2f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetAngularDamping")]
public static partial float WheelSettingsWV_GetAngularDamping(WheelSettingsWV self);
/// <summary>
/// <para>
/// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually
/// close to 0.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L32">Jolt/Physics/Vehicle/WheeledVehicleController.h:32</see>
/// <br/>
/// <c>float mAngularDamping = 0.2f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetAngularDamping")]
public static partial void WheelSettingsWV_SetAngularDamping(WheelSettingsWV self, float value);
/// <summary>
/// <para>
/// How much this wheel can steer (radians)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L33">Jolt/Physics/Vehicle/WheeledVehicleController.h:33</see>
/// <br/>
/// <c>float mMaxSteerAngle = DegreesToRadians(70.0f)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxSteerAngle")]
public static partial float WheelSettingsWV_GetMaxSteerAngle(WheelSettingsWV self);
/// <summary>
/// <para>
/// How much this wheel can steer (radians)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L33">Jolt/Physics/Vehicle/WheeledVehicleController.h:33</see>
/// <br/>
/// <c>float mMaxSteerAngle = DegreesToRadians(70.0f)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetMaxSteerAngle")]
public static partial void WheelSettingsWV_SetMaxSteerAngle(WheelSettingsWV self, float value);
/// <summary>
/// <para>
/// How much torque (Nm) the brakes can apply to this wheel
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L36">Jolt/Physics/Vehicle/WheeledVehicleController.h:36</see>
/// <br/>
/// <c>float mMaxBrakeTorque = 1500.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxBrakeTorque")]
public static partial float WheelSettingsWV_GetMaxBrakeTorque(WheelSettingsWV self);
/// <summary>
/// <para>
/// How much torque (Nm) the brakes can apply to this wheel
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L36">Jolt/Physics/Vehicle/WheeledVehicleController.h:36</see>
/// <br/>
/// <c>float mMaxBrakeTorque = 1500.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_SetMaxBrakeTorque")]
public static partial void WheelSettingsWV_SetMaxBrakeTorque(WheelSettingsWV self, float value);
/// <summary>
/// <para>
/// How much torque (Nm) the hand brake can apply to this wheel (usually only applied to the rear
/// wheels)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L37">Jolt/Physics/Vehicle/WheeledVehicleController.h:37</see>
/// <br/>
/// <c>float mMaxHandBrakeTorque = 4000.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "WheelSettingsWV_GetMaxHandBrakeTorque")]
public static partial float WheelSettingsWV_GetMaxHandBrakeTorque(WheelSettingsWV self);
/// <summary>
/// <para>
/// How much torque (Nm) the hand brake can apply to this wheel (usually only applied to the rear
/// wheels)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L37">Jolt/Physics/Vehicle/WheeledVehicleController.h:37</see>
/// <br/>
/// <c>float mMaxHandBrakeTorque = 4000.0f</c>
/// </para>
/// </summary>
[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);
}
}
}