mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
157
Brutal.Jolt/Generated/PInvoke/WheeledVehicleController.gen.cs
Normal file
157
Brutal.Jolt/Generated/PInvoke/WheeledVehicleController.gen.cs
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
// <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
|
||||
{
|
||||
/// <inheritdoc cref="WheeledVehicleController.Create(WheeledVehicleControllerSettings, VehicleConstraint)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_Create")]
|
||||
public static partial WheeledVehicleController WheeledVehicleController_Create(
|
||||
WheeledVehicleControllerSettings settings,
|
||||
VehicleConstraint constraint
|
||||
);
|
||||
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_Destroy")]
|
||||
public static partial void WheeledVehicleController_Destroy(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetDriverInput(float, float, float, float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetDriverInput")]
|
||||
public static partial void WheeledVehicleController_SetDriverInput(
|
||||
WheeledVehicleController self,
|
||||
float forward,
|
||||
float right,
|
||||
float brake,
|
||||
float handBrake
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetForwardInput(float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetForwardInput")]
|
||||
public static partial void WheeledVehicleController_SetForwardInput(
|
||||
WheeledVehicleController self,
|
||||
float forward
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetForwardInput()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetForwardInput")]
|
||||
public static partial float WheeledVehicleController_GetForwardInput(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetRightInput(float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetRightInput")]
|
||||
public static partial void WheeledVehicleController_SetRightInput(
|
||||
WheeledVehicleController self,
|
||||
float right
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetRightInput()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetRightInput")]
|
||||
public static partial float WheeledVehicleController_GetRightInput(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetBrakeInput(float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetBrakeInput")]
|
||||
public static partial void WheeledVehicleController_SetBrakeInput(
|
||||
WheeledVehicleController self,
|
||||
float brake
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetBrakeInput()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetBrakeInput")]
|
||||
public static partial float WheeledVehicleController_GetBrakeInput(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetHandBrakeInput(float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetHandBrakeInput")]
|
||||
public static partial void WheeledVehicleController_SetHandBrakeInput(
|
||||
WheeledVehicleController self,
|
||||
float handBrake
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetHandBrakeInput()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetHandBrakeInput")]
|
||||
public static partial float WheeledVehicleController_GetHandBrakeInput(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetEngine()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetEngine")]
|
||||
public static partial VehicleEngine WheeledVehicleController_GetEngine(WheeledVehicleController self);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetTransmission()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetTransmission")]
|
||||
public static partial VehicleTransmission WheeledVehicleController_GetTransmission(
|
||||
WheeledVehicleController self
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetDifferentials()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetDifferentials")]
|
||||
public static partial void WheeledVehicleController_GetDifferentials(
|
||||
WheeledVehicleController self,
|
||||
out NativeSpanView outResult
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetDifferentialLimitedSlipRatio()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetDifferentialLimitedSlipRatio")]
|
||||
public static partial float WheeledVehicleController_GetDifferentialLimitedSlipRatio(
|
||||
WheeledVehicleController self
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetDifferentialLimitedSlipRatio(float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetDifferentialLimitedSlipRatio")]
|
||||
public static partial void WheeledVehicleController_SetDifferentialLimitedSlipRatio(
|
||||
WheeledVehicleController self,
|
||||
float v
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.GetWheelSpeedAtClutch()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_GetWheelSpeedAtClutch")]
|
||||
public static partial float WheeledVehicleController_GetWheelSpeedAtClutch(WheeledVehicleController self);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/WheeledVehicleController.h#L151">Jolt/Physics/Vehicle/WheeledVehicleController.h:151</see>
|
||||
/// <br/>
|
||||
/// <c>void SetTireMaxImpulseCallback(const TireMaxImpulseCallback &inTireMaxImpulseCallback)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// tireMaxImpulseCallback: The callback is invoked from native code: it must be a static method marked
|
||||
/// [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])], and userData is passed back to it
|
||||
/// verbatim. Jolt calls it without a null check, so null is rejected. The callback and userData are
|
||||
/// retained by the native object until they are replaced or the owner is destroyed - keep whatever
|
||||
/// userData points at (a GCHandle, an allocation) alive for at least that long, and don't free it at
|
||||
/// the end of the call.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetTireMaxImpulseCallback")]
|
||||
public static partial void WheeledVehicleController_SetTireMaxImpulseCallback(
|
||||
WheeledVehicleController self,
|
||||
delegate* unmanaged[Cdecl]<
|
||||
uint,
|
||||
float*,
|
||||
float*,
|
||||
float,
|
||||
float,
|
||||
float,
|
||||
float,
|
||||
float,
|
||||
float,
|
||||
nint,
|
||||
void> tireMaxImpulseCallback,
|
||||
nint tireMaxImpulseCallbackUserData
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="WheeledVehicleController.SetRPMMeter(float3, float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "WheeledVehicleController_SetRPMMeter")]
|
||||
public static partial void WheeledVehicleController_SetRPMMeter(
|
||||
WheeledVehicleController self,
|
||||
float3 position,
|
||||
float size
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue