// // 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/TrackedVehicleController.h:84 ///
/// TrackedVehicleController(const TrackedVehicleControllerSettings &inSettings, VehicleConstraint &inConstraint) ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_Create")] public static partial TrackedVehicleController TrackedVehicleController_Create(TrackedVehicleControllerSettings settings, VehicleConstraint constraint); [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_Destroy")] public static partial void TrackedVehicleController_Destroy(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:91 ///
/// void SetDriverInput(float inForward, float inLeftRatio, float inRightRatio, float inBrake) ///
///
/// /// /// Set input from driver /// @param inForward Value between -1 and 1 for auto transmission and value between 0 and 1 indicating desired driving direction and amount the gas pedal is pressed /// @param inLeftRatio Value between -1 and 1 indicating an extra multiplier to the rotation rate of the left track (used for steering) /// @param inRightRatio Value between -1 and 1 indicating an extra multiplier to the rotation rate of the right track (used for steering) /// @param inBrake Value between 0 and 1 indicating how strong the brake pedal is pressed /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetDriverInput")] public static partial void TrackedVehicleController_SetDriverInput(TrackedVehicleController self, float forward, float leftRatio, float rightRatio, float brake); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:94 ///
/// void SetForwardInput(float inForward) ///
///
/// /// /// Value between -1 and 1 for auto transmission and value between 0 and 1 indicating desired driving /// direction and amount the gas pedal is pressed /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetForwardInput")] public static partial void TrackedVehicleController_SetForwardInput(TrackedVehicleController self, float forward); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:95 ///
/// float GetForwardInput() const ///
///
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetForwardInput")] public static partial float TrackedVehicleController_GetForwardInput(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:98 ///
/// void SetLeftRatio(float inLeftRatio) ///
///
/// /// /// Value between -1 and 1 indicating an extra multiplier to the rotation rate of the left track (used /// for steering) /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetLeftRatio")] public static partial void TrackedVehicleController_SetLeftRatio(TrackedVehicleController self, float leftRatio); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:99 ///
/// float GetLeftRatio() const ///
///
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetLeftRatio")] public static partial float TrackedVehicleController_GetLeftRatio(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:102 ///
/// void SetRightRatio(float inRightRatio) ///
///
/// /// /// Value between -1 and 1 indicating an extra multiplier to the rotation rate of the right track (used /// for steering) /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetRightRatio")] public static partial void TrackedVehicleController_SetRightRatio(TrackedVehicleController self, float rightRatio); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:103 ///
/// float GetRightRatio() const ///
///
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetRightRatio")] public static partial float TrackedVehicleController_GetRightRatio(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:106 ///
/// void SetBrakeInput(float inBrake) ///
///
/// /// /// Value between 0 and 1 indicating how strong the brake pedal is pressed /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetBrakeInput")] public static partial void TrackedVehicleController_SetBrakeInput(TrackedVehicleController self, float brake); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:107 ///
/// float GetBrakeInput() const ///
///
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetBrakeInput")] public static partial float TrackedVehicleController_GetBrakeInput(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:110 ///
/// const VehicleEngine & GetEngine() const ///
///
/// /// /// Get current engine state /// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetEngine")] public static partial VehicleEngine TrackedVehicleController_GetEngine(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:116 ///
/// const VehicleTransmission & GetTransmission() const ///
///
/// /// /// Get current transmission state /// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetTransmission")] public static partial VehicleTransmission TrackedVehicleController_GetTransmission(TrackedVehicleController self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:129 ///
/// void SetRPMMeter(Vec3Arg inPosition, float inSize) ///
///
/// /// /// Debug drawing of RPM meter /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetRPMMeter")] public static partial void TrackedVehicleController_SetRPMMeter(TrackedVehicleController self, float3 position, float size); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:133 ///
/// virtual Ref<VehicleControllerSettings> GetSettings() const override ///
///
/// /// /// See: VehicleController /// /// [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetSettings")] public static partial VehicleControllerSettings TrackedVehicleController_GetSettings(TrackedVehicleController self); [LibraryImport("jolt", EntryPoint = "TrackedVehicleController_AsVehicleController")] public static partial VehicleController TrackedVehicleController_AsVehicleController(TrackedVehicleController self); } } }