mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
127 lines
6.6 KiB
C#
127 lines
6.6 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 = "VehicleAntiRollBar_Create")]
|
|
public static partial VehicleAntiRollBar VehicleAntiRollBar_Create();
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_Destroy")]
|
|
public static partial void VehicleAntiRollBar_Destroy(VehicleAntiRollBar self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L21">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:21</see>
|
|
/// <br/>
|
|
/// <c>void SaveBinaryState(StreamOut &inStream) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Saves the contents in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SaveBinaryState")]
|
|
public static partial void VehicleAntiRollBar_SaveBinaryState(VehicleAntiRollBar self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L24">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:24</see>
|
|
/// <br/>
|
|
/// <c>void RestoreBinaryState(StreamIn &inStream)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Restores the contents in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_RestoreBinaryState")]
|
|
public static partial void VehicleAntiRollBar_RestoreBinaryState(VehicleAntiRollBar self, StreamIn stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index (in mWheels) that represents the left wheel of this anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L26">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:26</see>
|
|
/// <br/>
|
|
/// <c>int mLeftWheel = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetLeftWheel")]
|
|
public static partial int VehicleAntiRollBar_GetLeftWheel(VehicleAntiRollBar self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index (in mWheels) that represents the left wheel of this anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L26">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:26</see>
|
|
/// <br/>
|
|
/// <c>int mLeftWheel = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetLeftWheel")]
|
|
public static partial void VehicleAntiRollBar_SetLeftWheel(VehicleAntiRollBar self, int value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index (in mWheels) that represents the right wheel of this anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L27">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:27</see>
|
|
/// <br/>
|
|
/// <c>int mRightWheel = 1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetRightWheel")]
|
|
public static partial int VehicleAntiRollBar_GetRightWheel(VehicleAntiRollBar self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index (in mWheels) that represents the right wheel of this anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L27">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:27</see>
|
|
/// <br/>
|
|
/// <c>int mRightWheel = 1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetRightWheel")]
|
|
public static partial void VehicleAntiRollBar_SetRightWheel(VehicleAntiRollBar self, int value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stiffness (spring constant in N/m) of anti rollbar, can be 0 to disable the anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L28">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:28</see>
|
|
/// <br/>
|
|
/// <c>float mStiffness = 1000.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetStiffness")]
|
|
public static partial float VehicleAntiRollBar_GetStiffness(VehicleAntiRollBar self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stiffness (spring constant in N/m) of anti rollbar, can be 0 to disable the anti-rollbar
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleAntiRollBar.h#L28">Jolt/Physics/Vehicle/VehicleAntiRollBar.h:28</see>
|
|
/// <br/>
|
|
/// <c>float mStiffness = 1000.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetStiffness")]
|
|
public static partial void VehicleAntiRollBar_SetStiffness(VehicleAntiRollBar self, float value);
|
|
}
|
|
}
|
|
}
|