mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
90 lines
4.2 KiB
C#
90 lines
4.2 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
|
|
{
|
|
/// <inheritdoc cref="WheelWV.Create(WheelSettingsWV)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_Create")]
|
|
public static partial WheelWV WheelWV_Create(WheelSettingsWV wheel);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_Destroy")]
|
|
public static partial void WheelWV_Destroy(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetSettings")]
|
|
public static partial WheelSettingsWV WheelWV_GetSettings(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.ApplyTorque(float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_ApplyTorque")]
|
|
public static partial void WheelWV_ApplyTorque(WheelWV self, float torque, float deltaTime);
|
|
|
|
/// <inheritdoc cref="WheelWV.Update(uint, float, VehicleConstraint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_Update")]
|
|
public static partial void WheelWV_Update(
|
|
WheelWV self,
|
|
uint wheelIndex,
|
|
float deltaTime,
|
|
VehicleConstraint constraint,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetLongitudinalSlip()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetLongitudinalSlip")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelWV_GetLongitudinalSlip(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.SetLongitudinalSlip(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_SetLongitudinalSlip")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelWV_SetLongitudinalSlip(WheelWV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetLateralSlip()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetLateralSlip")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelWV_GetLateralSlip(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.SetLateralSlip(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_SetLateralSlip")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelWV_SetLateralSlip(WheelWV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetCombinedLongitudinalFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetCombinedLongitudinalFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelWV_GetCombinedLongitudinalFriction(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.SetCombinedLongitudinalFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_SetCombinedLongitudinalFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelWV_SetCombinedLongitudinalFriction(WheelWV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetCombinedLateralFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetCombinedLateralFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelWV_GetCombinedLateralFriction(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.SetCombinedLateralFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_SetCombinedLateralFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelWV_SetCombinedLateralFriction(WheelWV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelWV.GetBrakeImpulse()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_GetBrakeImpulse")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelWV_GetBrakeImpulse(WheelWV self);
|
|
|
|
/// <inheritdoc cref="WheelWV.SetBrakeImpulse(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelWV_SetBrakeImpulse")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelWV_SetBrakeImpulse(WheelWV self, float value);
|
|
}
|
|
}
|
|
}
|