mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
185 lines
9.9 KiB
C#
185 lines
9.9 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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L38">Jolt/Physics/Vehicle/TrackedVehicleController.h:38</see>
|
|
/// <br/>
|
|
/// <c>explicit WheelTV(const WheelSettingsTV &inWheel)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[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);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L41">Jolt/Physics/Vehicle/TrackedVehicleController.h:41</see>
|
|
/// <br/>
|
|
/// <c>const WheelSettingsTV * GetSettings() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Override GetSettings and cast to the correct class
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetSettings")]
|
|
public static partial WheelSettingsTV WheelTV_GetSettings(WheelTV self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L44">Jolt/Physics/Vehicle/TrackedVehicleController.h:44</see>
|
|
/// <br/>
|
|
/// <c>void CalculateAngularVelocity(const VehicleConstraint &inConstraint)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Update the angular velocity of the wheel based on the angular velocity of the track
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_CalculateAngularVelocity")]
|
|
public static partial void WheelTV_CalculateAngularVelocity(WheelTV self, VehicleConstraint constraint);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L47">Jolt/Physics/Vehicle/TrackedVehicleController.h:47</see>
|
|
/// <br/>
|
|
/// <c>void Update(uint inWheelIndex, float inDeltaTime, const VehicleConstraint &inConstraint)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Update the wheel rotation based on the current angular velocity
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_Update")]
|
|
public static partial void WheelTV_Update(WheelTV self, uint wheelIndex, float deltaTime, VehicleConstraint constraint);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index in mTracks to which this wheel is attached (calculated on initialization)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L49">Jolt/Physics/Vehicle/TrackedVehicleController.h:49</see>
|
|
/// <br/>
|
|
/// <c>int mTrackIndex = -1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetTrackIndex")]
|
|
public static partial int WheelTV_GetTrackIndex(WheelTV self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index in mTracks to which this wheel is attached (calculated on initialization)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L49">Jolt/Physics/Vehicle/TrackedVehicleController.h:49</see>
|
|
/// <br/>
|
|
/// <c>int mTrackIndex = -1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetTrackIndex")]
|
|
public static partial void WheelTV_SetTrackIndex(WheelTV self, int value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Combined friction coefficient in longitudinal direction (combines terrain and track)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L50">Jolt/Physics/Vehicle/TrackedVehicleController.h:50</see>
|
|
/// <br/>
|
|
/// <c>float mCombinedLongitudinalFriction = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLongitudinalFriction")]
|
|
public static partial float WheelTV_GetCombinedLongitudinalFriction(WheelTV self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Combined friction coefficient in longitudinal direction (combines terrain and track)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L50">Jolt/Physics/Vehicle/TrackedVehicleController.h:50</see>
|
|
/// <br/>
|
|
/// <c>float mCombinedLongitudinalFriction = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLongitudinalFriction")]
|
|
public static partial void WheelTV_SetCombinedLongitudinalFriction(WheelTV self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Combined friction coefficient in lateral direction (combines terrain and track)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L51">Jolt/Physics/Vehicle/TrackedVehicleController.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mCombinedLateralFriction = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLateralFriction")]
|
|
public static partial float WheelTV_GetCombinedLateralFriction(WheelTV self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Combined friction coefficient in lateral direction (combines terrain and track)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L51">Jolt/Physics/Vehicle/TrackedVehicleController.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mCombinedLateralFriction = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLateralFriction")]
|
|
public static partial void WheelTV_SetCombinedLateralFriction(WheelTV self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Amount of impulse that the brakes can apply to the floor (excluding friction), spread out from brake
|
|
/// impulse applied on track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L52">Jolt/Physics/Vehicle/TrackedVehicleController.h:52</see>
|
|
/// <br/>
|
|
/// <c>float mBrakeImpulse = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_GetBrakeImpulse")]
|
|
public static partial float WheelTV_GetBrakeImpulse(WheelTV self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Amount of impulse that the brakes can apply to the floor (excluding friction), spread out from brake
|
|
/// impulse applied on track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L52">Jolt/Physics/Vehicle/TrackedVehicleController.h:52</see>
|
|
/// <br/>
|
|
/// <c>float mBrakeImpulse = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_SetBrakeImpulse")]
|
|
public static partial void WheelTV_SetBrakeImpulse(WheelTV self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "WheelTV_AsWheel")]
|
|
public static partial Wheel WheelTV_AsWheel(WheelTV self);
|
|
}
|
|
}
|
|
}
|