mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
179 lines
9.6 KiB
C#
179 lines
9.6 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 = "VehicleTrackSettings_Create")]
|
|
public static partial VehicleTrackSettings VehicleTrackSettings_Create();
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_Destroy")]
|
|
public static partial void VehicleTrackSettings_Destroy(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L30">Jolt/Physics/Vehicle/VehicleTrack.h:30</see>
|
|
/// <br/>
|
|
/// <c>void SaveBinaryState(StreamOut &inStream) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Saves the contents in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SaveBinaryState")]
|
|
public static partial void VehicleTrackSettings_SaveBinaryState(VehicleTrackSettings self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L33">Jolt/Physics/Vehicle/VehicleTrack.h:33</see>
|
|
/// <br/>
|
|
/// <c>void RestoreBinaryState(StreamIn &inStream)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Restores the contents in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_RestoreBinaryState")]
|
|
public static partial void VehicleTrackSettings_RestoreBinaryState(VehicleTrackSettings self, StreamIn stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which wheel on the track is connected to the engine
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L35">Jolt/Physics/Vehicle/VehicleTrack.h:35</see>
|
|
/// <br/>
|
|
/// <c>uint mDrivenWheel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetDrivenWheel")]
|
|
public static partial uint VehicleTrackSettings_GetDrivenWheel(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which wheel on the track is connected to the engine
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L35">Jolt/Physics/Vehicle/VehicleTrack.h:35</see>
|
|
/// <br/>
|
|
/// <c>uint mDrivenWheel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetDrivenWheel")]
|
|
public static partial void VehicleTrackSettings_SetDrivenWheel(VehicleTrackSettings self, uint value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L37">Jolt/Physics/Vehicle/VehicleTrack.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mInertia = 10.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetInertia")]
|
|
public static partial float VehicleTrackSettings_GetInertia(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L37">Jolt/Physics/Vehicle/VehicleTrack.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mInertia = 10.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetInertia")]
|
|
public static partial void VehicleTrackSettings_SetInertia(VehicleTrackSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L38">Jolt/Physics/Vehicle/VehicleTrack.h:38</see>
|
|
/// <br/>
|
|
/// <c>float mAngularDamping = 0.5f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetAngularDamping")]
|
|
public static partial float VehicleTrackSettings_GetAngularDamping(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L38">Jolt/Physics/Vehicle/VehicleTrack.h:38</see>
|
|
/// <br/>
|
|
/// <c>float mAngularDamping = 0.5f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetAngularDamping")]
|
|
public static partial void VehicleTrackSettings_SetAngularDamping(VehicleTrackSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How much torque (Nm) the brakes can apply on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L39">Jolt/Physics/Vehicle/VehicleTrack.h:39</see>
|
|
/// <br/>
|
|
/// <c>float mMaxBrakeTorque = 15000.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetMaxBrakeTorque")]
|
|
public static partial float VehicleTrackSettings_GetMaxBrakeTorque(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// How much torque (Nm) the brakes can apply on the driven wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L39">Jolt/Physics/Vehicle/VehicleTrack.h:39</see>
|
|
/// <br/>
|
|
/// <c>float mMaxBrakeTorque = 15000.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetMaxBrakeTorque")]
|
|
public static partial void VehicleTrackSettings_SetMaxBrakeTorque(VehicleTrackSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Ratio between rotation speed of gear box and driven wheel of track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L40">Jolt/Physics/Vehicle/VehicleTrack.h:40</see>
|
|
/// <br/>
|
|
/// <c>float mDifferentialRatio = 6.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_GetDifferentialRatio")]
|
|
public static partial float VehicleTrackSettings_GetDifferentialRatio(VehicleTrackSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Ratio between rotation speed of gear box and driven wheel of track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L40">Jolt/Physics/Vehicle/VehicleTrack.h:40</see>
|
|
/// <br/>
|
|
/// <c>float mDifferentialRatio = 6.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleTrackSettings_SetDifferentialRatio")]
|
|
public static partial void VehicleTrackSettings_SetDifferentialRatio(VehicleTrackSettings self, float value);
|
|
}
|
|
}
|
|
}
|