mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,252 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L89">Jolt/Physics/Vehicle/WheeledVehicleController.h:89</see>
|
||||
/// <br/>
|
||||
/// <c>class WheeledVehicleController : public VehicleController</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Runtime controller class
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct WheeledVehicleController : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L95">Jolt/Physics/Vehicle/WheeledVehicleController.h:95</see>
|
||||
/// <br/>
|
||||
/// <c>WheeledVehicleController(const WheeledVehicleControllerSettings &inSettings, VehicleConstraint &inConstraint)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static WheeledVehicleController Create(WheeledVehicleControllerSettings settings, VehicleConstraint constraint) => Jolt.PInvoke.WheeledVehicleController_Create(settings, constraint);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L105">Jolt/Physics/Vehicle/WheeledVehicleController.h:105</see>
|
||||
/// <br/>
|
||||
/// <c>void SetDriverInput(float inForward, float inRight, float inBrake, float inHandBrake)</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 inRight Value between -1 and 1 indicating desired steering angle (1 = right)
|
||||
/// @param inBrake Value between 0 and 1 indicating how strong the brake pedal is pressed
|
||||
/// @param inHandBrake Value between 0 and 1 indicating how strong the hand brake is pulled
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public void SetDriverInput(float forward, float right, float brake, float handBrake) => Jolt.PInvoke.WheeledVehicleController_SetDriverInput(this, forward, right, brake, handBrake);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L108">Jolt/Physics/Vehicle/WheeledVehicleController.h:108</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>
|
||||
public void SetForwardInput(float forward) => Jolt.PInvoke.WheeledVehicleController_SetForwardInput(this, forward);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L109">Jolt/Physics/Vehicle/WheeledVehicleController.h:109</see>
|
||||
/// <br/>
|
||||
/// <c>float GetForwardInput() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float GetForwardInput() => Jolt.PInvoke.WheeledVehicleController_GetForwardInput(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L112">Jolt/Physics/Vehicle/WheeledVehicleController.h:112</see>
|
||||
/// <br/>
|
||||
/// <c>void SetRightInput(float inRight)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Value between -1 and 1 indicating desired steering angle (1 = right)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SetRightInput(float right) => Jolt.PInvoke.WheeledVehicleController_SetRightInput(this, right);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L113">Jolt/Physics/Vehicle/WheeledVehicleController.h:113</see>
|
||||
/// <br/>
|
||||
/// <c>float GetRightInput() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float GetRightInput() => Jolt.PInvoke.WheeledVehicleController_GetRightInput(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L116">Jolt/Physics/Vehicle/WheeledVehicleController.h:116</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>
|
||||
public void SetBrakeInput(float brake) => Jolt.PInvoke.WheeledVehicleController_SetBrakeInput(this, brake);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L117">Jolt/Physics/Vehicle/WheeledVehicleController.h:117</see>
|
||||
/// <br/>
|
||||
/// <c>float GetBrakeInput() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float GetBrakeInput() => Jolt.PInvoke.WheeledVehicleController_GetBrakeInput(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L120">Jolt/Physics/Vehicle/WheeledVehicleController.h:120</see>
|
||||
/// <br/>
|
||||
/// <c>void SetHandBrakeInput(float inHandBrake)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Value between 0 and 1 indicating how strong the hand brake is pulled
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SetHandBrakeInput(float handBrake) => Jolt.PInvoke.WheeledVehicleController_SetHandBrakeInput(this, handBrake);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L121">Jolt/Physics/Vehicle/WheeledVehicleController.h:121</see>
|
||||
/// <br/>
|
||||
/// <c>float GetHandBrakeInput() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float GetHandBrakeInput() => Jolt.PInvoke.WheeledVehicleController_GetHandBrakeInput(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L124">Jolt/Physics/Vehicle/WheeledVehicleController.h:124</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>
|
||||
public VehicleEngine GetEngine() => Jolt.PInvoke.WheeledVehicleController_GetEngine(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L130">Jolt/Physics/Vehicle/WheeledVehicleController.h:130</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>
|
||||
public VehicleTransmission GetTransmission() => Jolt.PInvoke.WheeledVehicleController_GetTransmission(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L142">Jolt/Physics/Vehicle/WheeledVehicleController.h:142</see>
|
||||
/// <br/>
|
||||
/// <c>float GetDifferentialLimitedSlipRatio() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Ratio max / min average wheel speed of each differential (measured at the clutch).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public float GetDifferentialLimitedSlipRatio() => Jolt.PInvoke.WheeledVehicleController_GetDifferentialLimitedSlipRatio(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L143">Jolt/Physics/Vehicle/WheeledVehicleController.h:143</see>
|
||||
/// <br/>
|
||||
/// <c>void SetDifferentialLimitedSlipRatio(float inV)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetDifferentialLimitedSlipRatio(float v) => Jolt.PInvoke.WheeledVehicleController_SetDifferentialLimitedSlipRatio(this, v);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L146">Jolt/Physics/Vehicle/WheeledVehicleController.h:146</see>
|
||||
/// <br/>
|
||||
/// <c>float GetWheelSpeedAtClutch() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the average wheel speed of all driven wheels (measured at the clutch)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public float GetWheelSpeedAtClutch() => Jolt.PInvoke.WheeledVehicleController_GetWheelSpeedAtClutch(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L155">Jolt/Physics/Vehicle/WheeledVehicleController.h:155</see>
|
||||
/// <br/>
|
||||
/// <c>void SetRPMMeter(Vec3Arg inPosition, float inSize)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Debug drawing of RPM meter
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SetRPMMeter(float3 position, float size) => Jolt.PInvoke.WheeledVehicleController_SetRPMMeter(this, position, size);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/WheeledVehicleController.h#L159">Jolt/Physics/Vehicle/WheeledVehicleController.h:159</see>
|
||||
/// <br/>
|
||||
/// <c>virtual Ref<VehicleControllerSettings> GetSettings() const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See: VehicleController
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public VehicleControllerSettings GetSettings() => Jolt.PInvoke.WheeledVehicleController_GetSettings(this);
|
||||
public static implicit operator VehicleController(WheeledVehicleController value) => Jolt.PInvoke.WheeledVehicleController_AsVehicleController(value);
|
||||
public void Dispose() => Jolt.PInvoke.WheeledVehicleController_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue