//
// 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);
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:21
///
/// void SaveBinaryState(StreamOut &inStream) const
///
///
///
///
/// Saves the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SaveBinaryState")]
public static partial void VehicleAntiRollBar_SaveBinaryState(VehicleAntiRollBar self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:24
///
/// void RestoreBinaryState(StreamIn &inStream)
///
///
///
///
/// Restores the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_RestoreBinaryState")]
public static partial void VehicleAntiRollBar_RestoreBinaryState(VehicleAntiRollBar self, StreamIn stream);
///
///
/// Index (in mWheels) that represents the left wheel of this anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:26
///
/// int mLeftWheel = 0
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetLeftWheel")]
public static partial int VehicleAntiRollBar_GetLeftWheel(VehicleAntiRollBar self);
///
///
/// Index (in mWheels) that represents the left wheel of this anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:26
///
/// int mLeftWheel = 0
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetLeftWheel")]
public static partial void VehicleAntiRollBar_SetLeftWheel(VehicleAntiRollBar self, int value);
///
///
/// Index (in mWheels) that represents the right wheel of this anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:27
///
/// int mRightWheel = 1
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetRightWheel")]
public static partial int VehicleAntiRollBar_GetRightWheel(VehicleAntiRollBar self);
///
///
/// Index (in mWheels) that represents the right wheel of this anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:27
///
/// int mRightWheel = 1
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetRightWheel")]
public static partial void VehicleAntiRollBar_SetRightWheel(VehicleAntiRollBar self, int value);
///
///
/// Stiffness (spring constant in N/m) of anti rollbar, can be 0 to disable the anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:28
///
/// float mStiffness = 1000.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_GetStiffness")]
public static partial float VehicleAntiRollBar_GetStiffness(VehicleAntiRollBar self);
///
///
/// Stiffness (spring constant in N/m) of anti rollbar, can be 0 to disable the anti-rollbar
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleAntiRollBar.h:28
///
/// float mStiffness = 1000.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleAntiRollBar_SetStiffness")]
public static partial void VehicleAntiRollBar_SetStiffness(VehicleAntiRollBar self, float value);
}
}
}