// // 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 { /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:26 ///
/// VehicleEngineSettings() ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_Create")] public static partial VehicleEngineSettings VehicleEngineSettings_Create(); [LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_Destroy")] public static partial void VehicleEngineSettings_Destroy(VehicleEngineSettings self); /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:29 ///
/// void SaveBinaryState(StreamOut &inStream) const ///
///
/// /// /// Saves the contents in binary form to inStream. /// /// [LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SaveBinaryState")] public static partial void VehicleEngineSettings_SaveBinaryState(VehicleEngineSettings self, StreamOut stream); /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:32 ///
/// void RestoreBinaryState(StreamIn &inStream) ///
///
/// /// /// Restores the contents in binary form to inStream. /// /// [LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_RestoreBinaryState")] public static partial void VehicleEngineSettings_RestoreBinaryState(VehicleEngineSettings self, StreamIn stream); /// /// /// Max amount of torque (Nm) that the engine can deliver /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:34 ///
/// float mMaxTorque = 500.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_GetMaxTorque")] public static partial float VehicleEngineSettings_GetMaxTorque(VehicleEngineSettings self); /// /// /// Max amount of torque (Nm) that the engine can deliver /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:34 ///
/// float mMaxTorque = 500.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SetMaxTorque")] public static partial void VehicleEngineSettings_SetMaxTorque(VehicleEngineSettings self, float value); /// /// /// Min amount of revolutions per minute (rpm) the engine can produce without stalling /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:35 ///
/// float mMinRPM = 1000.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_GetMinRPM")] public static partial float VehicleEngineSettings_GetMinRPM(VehicleEngineSettings self); /// /// /// Min amount of revolutions per minute (rpm) the engine can produce without stalling /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:35 ///
/// float mMinRPM = 1000.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SetMinRPM")] public static partial void VehicleEngineSettings_SetMinRPM(VehicleEngineSettings self, float value); /// /// /// Max amount of revolutions per minute (rpm) the engine can generate /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:36 ///
/// float mMaxRPM = 6000.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_GetMaxRPM")] public static partial float VehicleEngineSettings_GetMaxRPM(VehicleEngineSettings self); /// /// /// Max amount of revolutions per minute (rpm) the engine can generate /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:36 ///
/// float mMaxRPM = 6000.0f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SetMaxRPM")] public static partial void VehicleEngineSettings_SetMaxRPM(VehicleEngineSettings self, float value); /// /// /// Moment of inertia (kg m^2) of the engine /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:38 ///
/// float mInertia = 0.5f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_GetInertia")] public static partial float VehicleEngineSettings_GetInertia(VehicleEngineSettings self); /// /// /// Moment of inertia (kg m^2) of the engine /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:38 ///
/// float mInertia = 0.5f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SetInertia")] public static partial void VehicleEngineSettings_SetInertia(VehicleEngineSettings self, float value); /// /// /// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually /// close to 0. /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:39 ///
/// float mAngularDamping = 0.2f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_GetAngularDamping")] public static partial float VehicleEngineSettings_GetAngularDamping(VehicleEngineSettings self); /// /// /// Angular damping factor of the wheel: dw/dt = -c * w. Value should be zero or positive and is usually /// close to 0. /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleEngine.h:39 ///
/// float mAngularDamping = 0.2f ///
///
[LibraryImport("jolt", EntryPoint = "VehicleEngineSettings_SetAngularDamping")] public static partial void VehicleEngineSettings_SetAngularDamping(VehicleEngineSettings self, float value); } } }