mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,93 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L59">Jolt/Physics/Vehicle/TrackedVehicleController.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>class TrackedVehicleControllerSettings : public VehicleControllerSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Settings of a vehicle with tank tracks
|
||||
///
|
||||
/// Default settings are based around what I could find about the M1 Abrams tank.
|
||||
/// Note to avoid issues with very heavy objects vs very light objects the mass of the tank should be a lot lower (say 10x) than that of a real tank. That means that the engine/brake torque is also 10x less.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct TrackedVehicleControllerSettings : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L65">Jolt/Physics/Vehicle/TrackedVehicleController.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>TrackedVehicleControllerSettings()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static TrackedVehicleControllerSettings Create() => Jolt.PInvoke.TrackedVehicleControllerSettings_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L61">Jolt/Physics/Vehicle/TrackedVehicleController.h:61</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public RTTI GetRTTI() => Jolt.PInvoke.TrackedVehicleControllerSettings_GetRTTI(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L61">Jolt/Physics/Vehicle/TrackedVehicleController.h:61</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.TrackedVehicleControllerSettings_CastTo(this, rTTI);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L69">Jolt/Physics/Vehicle/TrackedVehicleController.h:69</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SaveBinaryState(StreamOut stream) => Jolt.PInvoke.TrackedVehicleControllerSettings_SaveBinaryState(this, stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L70">Jolt/Physics/Vehicle/TrackedVehicleController.h:70</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void RestoreBinaryState(StreamIn &inStream) override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void RestoreBinaryState(StreamIn stream) => Jolt.PInvoke.TrackedVehicleControllerSettings_RestoreBinaryState(this, stream);
|
||||
public void AddRef() => Jolt.PInvoke.TrackedVehicleControllerSettings_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.TrackedVehicleControllerSettings_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.TrackedVehicleControllerSettings_GetRefCount(this);
|
||||
public static implicit operator VehicleControllerSettings(TrackedVehicleControllerSettings value) => Jolt.PInvoke.TrackedVehicleControllerSettings_AsVehicleControllerSettings(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue