//
// 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 = "VehicleTrackSettings_Create")]
public static partial VehicleTrackSettings VehicleTrackSettings_Create();
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_Destroy")]
public static partial void VehicleTrackSettings_Destroy(VehicleTrackSettings self);
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:30
///
/// void SaveBinaryState(StreamOut &inStream) const
///
///
///
///
/// Saves the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SaveBinaryState")]
public static partial void VehicleTrackSettings_SaveBinaryState(VehicleTrackSettings self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:33
///
/// void RestoreBinaryState(StreamIn &inStream)
///
///
///
///
/// Restores the contents in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_RestoreBinaryState")]
public static partial void VehicleTrackSettings_RestoreBinaryState(VehicleTrackSettings self, StreamIn stream);
///
///
/// Which wheel on the track is connected to the engine
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:35
///
/// uint mDrivenWheel
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetDrivenWheel")]
public static partial uint VehicleTrackSettings_GetDrivenWheel(VehicleTrackSettings self);
///
///
/// Which wheel on the track is connected to the engine
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:35
///
/// uint mDrivenWheel
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetDrivenWheel")]
public static partial void VehicleTrackSettings_SetDrivenWheel(VehicleTrackSettings self, uint value);
///
///
/// Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:37
///
/// float mInertia = 10.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetInertia")]
public static partial float VehicleTrackSettings_GetInertia(VehicleTrackSettings self);
///
///
/// Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:37
///
/// float mInertia = 10.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetInertia")]
public static partial void VehicleTrackSettings_SetInertia(VehicleTrackSettings self, float value);
///
///
/// Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:38
///
/// float mAngularDamping = 0.5f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetAngularDamping")]
public static partial float VehicleTrackSettings_GetAngularDamping(VehicleTrackSettings self);
///
///
/// Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:38
///
/// float mAngularDamping = 0.5f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetAngularDamping")]
public static partial void VehicleTrackSettings_SetAngularDamping(VehicleTrackSettings self, float value);
///
///
/// How much torque (Nm) the brakes can apply on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:39
///
/// float mMaxBrakeTorque = 15000.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetMaxBrakeTorque")]
public static partial float VehicleTrackSettings_GetMaxBrakeTorque(VehicleTrackSettings self);
///
///
/// How much torque (Nm) the brakes can apply on the driven wheel
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:39
///
/// float mMaxBrakeTorque = 15000.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetMaxBrakeTorque")]
public static partial void VehicleTrackSettings_SetMaxBrakeTorque(VehicleTrackSettings self, float value);
///
///
/// Ratio between rotation speed of gear box and driven wheel of track
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:40
///
/// float mDifferentialRatio = 6.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetDifferentialRatio")]
public static partial float VehicleTrackSettings_GetDifferentialRatio(VehicleTrackSettings self);
///
///
/// Ratio between rotation speed of gear box and driven wheel of track
///
///
/// C++:
/// Jolt/Physics/Vehicle/VehicleTrack.h:40
///
/// float mDifferentialRatio = 6.0f
///
///
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetDifferentialRatio")]
public static partial void VehicleTrackSettings_SetDifferentialRatio(VehicleTrackSettings self, float value);
}
}
}