mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
53 lines
2.2 KiB
C#
53 lines
2.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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L44">Jolt/Physics/Vehicle/VehicleTrack.h:44</see>
|
|
/// <br/>
|
|
/// <c>class VehicleTrack : public VehicleTrackSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Runtime data for tank tracks
|
|
/// </para>
|
|
/// </remarks>
|
|
[InteropHandle]
|
|
public readonly partial struct VehicleTrack : IDisposable
|
|
{
|
|
public static VehicleTrack Create() => Jolt.PInvoke.VehicleTrack_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// Angular velocity of the driven wheel, will determine the speed of the entire track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L51">Jolt/Physics/Vehicle/VehicleTrack.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mAngularVelocity = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float GetAngularVelocity() => Jolt.PInvoke.VehicleTrack_GetAngularVelocity(this);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Angular velocity of the driven wheel, will determine the speed of the entire track
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleTrack.h#L51">Jolt/Physics/Vehicle/VehicleTrack.h:51</see>
|
|
/// <br/>
|
|
/// <c>float mAngularVelocity = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetAngularVelocity(float value) => Jolt.PInvoke.VehicleTrack_SetAngularVelocity(this, value);
|
|
public static implicit operator VehicleTrackSettings(VehicleTrack value) => Jolt.PInvoke.VehicleTrack_AsVehicleTrackSettings(value);
|
|
public void Dispose() => Jolt.PInvoke.VehicleTrack_Destroy(this);
|
|
}
|
|
}
|