mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
222 lines
13 KiB
C#
222 lines
13 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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L84">Jolt/Physics/Vehicle/TrackedVehicleController.h:84</see>
|
|
/// <br/>
|
|
/// <c>TrackedVehicleController(const TrackedVehicleControllerSettings &inSettings, VehicleConstraint &inConstraint)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[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);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L91">Jolt/Physics/Vehicle/TrackedVehicleController.h:91</see>
|
|
/// <br/>
|
|
/// <c>void SetDriverInput(float inForward, float inLeftRatio, float inRightRatio, float inBrake)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetDriverInput")]
|
|
public static partial void TrackedVehicleController_SetDriverInput(TrackedVehicleController self, float forward, float leftRatio, float rightRatio, float brake);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L94">Jolt/Physics/Vehicle/TrackedVehicleController.h:94</see>
|
|
/// <br/>
|
|
/// <c>void SetForwardInput(float inForward)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// 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
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetForwardInput")]
|
|
public static partial void TrackedVehicleController_SetForwardInput(TrackedVehicleController self, float forward);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L95">Jolt/Physics/Vehicle/TrackedVehicleController.h:95</see>
|
|
/// <br/>
|
|
/// <c>float GetForwardInput() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetForwardInput")]
|
|
public static partial float TrackedVehicleController_GetForwardInput(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L98">Jolt/Physics/Vehicle/TrackedVehicleController.h:98</see>
|
|
/// <br/>
|
|
/// <c>void SetLeftRatio(float inLeftRatio)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Value between -1 and 1 indicating an extra multiplier to the rotation rate of the left track (used
|
|
/// for steering)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetLeftRatio")]
|
|
public static partial void TrackedVehicleController_SetLeftRatio(TrackedVehicleController self, float leftRatio);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L99">Jolt/Physics/Vehicle/TrackedVehicleController.h:99</see>
|
|
/// <br/>
|
|
/// <c>float GetLeftRatio() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetLeftRatio")]
|
|
public static partial float TrackedVehicleController_GetLeftRatio(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L102">Jolt/Physics/Vehicle/TrackedVehicleController.h:102</see>
|
|
/// <br/>
|
|
/// <c>void SetRightRatio(float inRightRatio)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Value between -1 and 1 indicating an extra multiplier to the rotation rate of the right track (used
|
|
/// for steering)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetRightRatio")]
|
|
public static partial void TrackedVehicleController_SetRightRatio(TrackedVehicleController self, float rightRatio);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L103">Jolt/Physics/Vehicle/TrackedVehicleController.h:103</see>
|
|
/// <br/>
|
|
/// <c>float GetRightRatio() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetRightRatio")]
|
|
public static partial float TrackedVehicleController_GetRightRatio(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L106">Jolt/Physics/Vehicle/TrackedVehicleController.h:106</see>
|
|
/// <br/>
|
|
/// <c>void SetBrakeInput(float inBrake)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Value between 0 and 1 indicating how strong the brake pedal is pressed
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetBrakeInput")]
|
|
public static partial void TrackedVehicleController_SetBrakeInput(TrackedVehicleController self, float brake);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L107">Jolt/Physics/Vehicle/TrackedVehicleController.h:107</see>
|
|
/// <br/>
|
|
/// <c>float GetBrakeInput() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetBrakeInput")]
|
|
public static partial float TrackedVehicleController_GetBrakeInput(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L110">Jolt/Physics/Vehicle/TrackedVehicleController.h:110</see>
|
|
/// <br/>
|
|
/// <c>const VehicleEngine & GetEngine() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get current engine state
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetEngine")]
|
|
public static partial VehicleEngine TrackedVehicleController_GetEngine(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L116">Jolt/Physics/Vehicle/TrackedVehicleController.h:116</see>
|
|
/// <br/>
|
|
/// <c>const VehicleTransmission & GetTransmission() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get current transmission state
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_GetTransmission")]
|
|
public static partial VehicleTransmission TrackedVehicleController_GetTransmission(TrackedVehicleController self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L129">Jolt/Physics/Vehicle/TrackedVehicleController.h:129</see>
|
|
/// <br/>
|
|
/// <c>void SetRPMMeter(Vec3Arg inPosition, float inSize)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Debug drawing of RPM meter
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TrackedVehicleController_SetRPMMeter")]
|
|
public static partial void TrackedVehicleController_SetRPMMeter(TrackedVehicleController self, float3 position, float size);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L133">Jolt/Physics/Vehicle/TrackedVehicleController.h:133</see>
|
|
/// <br/>
|
|
/// <c>virtual Ref<VehicleControllerSettings> GetSettings() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: VehicleController
|
|
/// </para>
|
|
/// </remarks>
|
|
[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);
|
|
}
|
|
}
|
|
}
|