brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/WheelSettingsTV.gen.cs
2026-10-15 14:12:02 +13:00

130 lines
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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L18">Jolt/Physics/Vehicle/TrackedVehicleController.h:18</see>
/// <br/>
/// <c>class WheelSettingsTV : public WheelSettings</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// WheelSettings object specifically for TrackedVehicleController
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct WheelSettingsTV : IDisposable
{
public static WheelSettingsTV Create() => Jolt.PInvoke.WheelSettingsTV_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L20">Jolt/Physics/Vehicle/TrackedVehicleController.h:20</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.WheelSettingsTV_GetRTTI(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L20">Jolt/Physics/Vehicle/TrackedVehicleController.h:20</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.WheelSettingsTV_CastTo(this, rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L24">Jolt/Physics/Vehicle/TrackedVehicleController.h:24</see>
/// <br/>
/// <c>virtual void SaveBinaryState(StreamOut &amp;inStream) const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: WheelSettings
/// </para>
/// </remarks>
public void SaveBinaryState(StreamOut stream) => Jolt.PInvoke.WheelSettingsTV_SaveBinaryState(this, stream);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L25">Jolt/Physics/Vehicle/TrackedVehicleController.h:25</see>
/// <br/>
/// <c>virtual void RestoreBinaryState(StreamIn &amp;inStream) override</c>
/// </para>
/// </summary>
public void RestoreBinaryState(StreamIn stream) => Jolt.PInvoke.WheelSettingsTV_RestoreBinaryState(this, stream);
/// <summary>
/// <para>
/// Friction in forward direction of tire
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L27">Jolt/Physics/Vehicle/TrackedVehicleController.h:27</see>
/// <br/>
/// <c>float mLongitudinalFriction = 4.0f</c>
/// </para>
/// </summary>
public float GetLongitudinalFriction() => Jolt.PInvoke.WheelSettingsTV_GetLongitudinalFriction(this);
/// <summary>
/// <para>
/// Friction in forward direction of tire
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L27">Jolt/Physics/Vehicle/TrackedVehicleController.h:27</see>
/// <br/>
/// <c>float mLongitudinalFriction = 4.0f</c>
/// </para>
/// </summary>
public void SetLongitudinalFriction(float value) => Jolt.PInvoke.WheelSettingsTV_SetLongitudinalFriction(this, value);
/// <summary>
/// <para>
/// Friction in sideways direction of tire
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L28">Jolt/Physics/Vehicle/TrackedVehicleController.h:28</see>
/// <br/>
/// <c>float mLateralFriction = 2.0f</c>
/// </para>
/// </summary>
public float GetLateralFriction() => Jolt.PInvoke.WheelSettingsTV_GetLateralFriction(this);
/// <summary>
/// <para>
/// Friction in sideways direction of tire
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/TrackedVehicleController.h#L28">Jolt/Physics/Vehicle/TrackedVehicleController.h:28</see>
/// <br/>
/// <c>float mLateralFriction = 2.0f</c>
/// </para>
/// </summary>
public void SetLateralFriction(float value) => Jolt.PInvoke.WheelSettingsTV_SetLateralFriction(this, value);
public void AddRef() => Jolt.PInvoke.WheelSettingsTV_AddRef(this);
public void Release() => Jolt.PInvoke.WheelSettingsTV_Release(this);
public uint GetRefCount() => Jolt.PInvoke.WheelSettingsTV_GetRefCount(this);
public static implicit operator WheelSettings(WheelSettingsTV value) => Jolt.PInvoke.WheelSettingsTV_AsWheelSettings(value);
public void Dispose()
{
if (IsNull()) return;
Release();
}
}
}