mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
80 lines
3.7 KiB
C#
80 lines
3.7 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="WheelTV.Create(WheelSettingsTV)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_Create")]
|
|
public static partial WheelTV WheelTV_Create(WheelSettingsTV wheel);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_Destroy")]
|
|
public static partial void WheelTV_Destroy(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.GetSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetSettings")]
|
|
public static partial WheelSettingsTV WheelTV_GetSettings(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.CalculateAngularVelocity(VehicleConstraint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_CalculateAngularVelocity")]
|
|
public static partial void WheelTV_CalculateAngularVelocity(WheelTV self, VehicleConstraint constraint);
|
|
|
|
/// <inheritdoc cref="WheelTV.Update(uint, float, VehicleConstraint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_Update")]
|
|
public static partial void WheelTV_Update(
|
|
WheelTV self,
|
|
uint wheelIndex,
|
|
float deltaTime,
|
|
VehicleConstraint constraint,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="WheelTV.GetTrackIndex()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetTrackIndex")]
|
|
[SuppressGCTransition]
|
|
public static partial int WheelTV_GetTrackIndex(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.SetTrackIndex(int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetTrackIndex")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelTV_SetTrackIndex(WheelTV self, int value);
|
|
|
|
/// <inheritdoc cref="WheelTV.GetCombinedLongitudinalFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLongitudinalFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelTV_GetCombinedLongitudinalFriction(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.SetCombinedLongitudinalFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLongitudinalFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelTV_SetCombinedLongitudinalFriction(WheelTV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelTV.GetCombinedLateralFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLateralFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelTV_GetCombinedLateralFriction(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.SetCombinedLateralFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLateralFriction")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelTV_SetCombinedLateralFriction(WheelTV self, float value);
|
|
|
|
/// <inheritdoc cref="WheelTV.GetBrakeImpulse()"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetBrakeImpulse")]
|
|
[SuppressGCTransition]
|
|
public static partial float WheelTV_GetBrakeImpulse(WheelTV self);
|
|
|
|
/// <inheritdoc cref="WheelTV.SetBrakeImpulse(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetBrakeImpulse")]
|
|
[SuppressGCTransition]
|
|
public static partial void WheelTV_SetBrakeImpulse(WheelTV self, float value);
|
|
}
|
|
}
|
|
}
|