brutal/Brutal.Jolt/Generated/PInvoke/VehicleEngine.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

74 lines
3.5 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
{
[LibraryImport("jolt", EntryPoint = "VehicleEngine_Create")]
public static partial VehicleEngine VehicleEngine_Create();
[LibraryImport("jolt", EntryPoint = "VehicleEngine_Destroy")]
public static partial void VehicleEngine_Destroy(VehicleEngine self);
/// <inheritdoc cref="VehicleEngine.ClampRPM()"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ClampRPM")]
public static partial void VehicleEngine_ClampRPM(VehicleEngine self);
/// <inheritdoc cref="VehicleEngine.GetCurrentRPM()"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetCurrentRPM")]
public static partial float VehicleEngine_GetCurrentRPM(VehicleEngine self);
/// <inheritdoc cref="VehicleEngine.SetCurrentRPM(float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_SetCurrentRPM")]
public static partial void VehicleEngine_SetCurrentRPM(VehicleEngine self, float rpm);
/// <inheritdoc cref="VehicleEngine.GetAngularVelocity()"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetAngularVelocity")]
public static partial float VehicleEngine_GetAngularVelocity(VehicleEngine self);
/// <inheritdoc cref="VehicleEngine.GetTorque(float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetTorque")]
public static partial float VehicleEngine_GetTorque(VehicleEngine self, float acceleration);
/// <inheritdoc cref="VehicleEngine.ApplyTorque(float, float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ApplyTorque")]
public static partial void VehicleEngine_ApplyTorque(VehicleEngine self, float torque, float deltaTime);
/// <inheritdoc cref="VehicleEngine.ApplyDamping(float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ApplyDamping")]
public static partial void VehicleEngine_ApplyDamping(VehicleEngine self, float deltaTime);
/// <inheritdoc cref="VehicleEngine.ConvertRPMToAngle(float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_ConvertRPMToAngle")]
public static partial float VehicleEngine_ConvertRPMToAngle(VehicleEngine self, float rpm);
/// <inheritdoc cref="VehicleEngine.DrawRPM(DebugRenderer, float3, float3, float3, float, float, float)"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_DrawRPM")]
public static partial void VehicleEngine_DrawRPM(
VehicleEngine self,
DebugRenderer renderer,
float3 position,
float3 forward,
float3 up,
float size,
float shiftDownRPM,
float shiftUpRPM
);
/// <inheritdoc cref="VehicleEngine.AllowSleep()"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_AllowSleep")]
public static partial Brutal.Bool8 VehicleEngine_AllowSleep(VehicleEngine self);
/// <inheritdoc cref="VehicleEngine.GetAngularVelocityToRPM()"/>
[LibraryImport("jolt", EntryPoint = "VehicleEngine_GetAngularVelocityToRPM")]
public static partial float VehicleEngine_GetAngularVelocityToRPM();
}
}
}