mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
187
Brutal.Jolt/Generated/Classes/WheelSettingsTV.gen.cs
Normal file
187
Brutal.Jolt/Generated/Classes/WheelSettingsTV.gen.cs
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// WheelSettings object specifically for TrackedVehicleController
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/TrackedVehicleController.h#L18">Jolt/Physics/Vehicle/TrackedVehicleController.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>class WheelSettingsTV : public WheelSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct WheelSettingsTV : IDisposable
|
||||
{
|
||||
public static WheelSettingsTV Create() => Jolt.PInvoke.WheelSettingsTV_Create();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetRTTI()"/>
|
||||
public RTTI GetRTTI() => ((WheelSettings)this).GetRTTI();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.CastTo(RTTI)"/>
|
||||
public unsafe Ptr CastTo(RTTI rtti) => ((WheelSettings)this).CastTo(rtti);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SaveBinaryState(StreamOut)"/>
|
||||
public void SaveBinaryState(StreamOut stream) => ((WheelSettings)this).SaveBinaryState(stream);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.RestoreBinaryState(StreamIn)"/>
|
||||
public void RestoreBinaryState(StreamIn stream) => ((WheelSettings)this).RestoreBinaryState(stream);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Friction in forward direction of tire
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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() => ((WheelSettings)this).AddRef();
|
||||
|
||||
public void Release() => ((WheelSettings)this).Release();
|
||||
|
||||
public uint GetRefCount() => ((WheelSettings)this).GetRefCount();
|
||||
|
||||
public static implicit operator WheelSettings(WheelSettingsTV value) =>
|
||||
Unsafe.BitCast<WheelSettingsTV, WheelSettings>(value);
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull())
|
||||
return;
|
||||
Release();
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetPosition()"/>
|
||||
public float3 GetPosition() => ((WheelSettings)this).GetPosition();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetPosition(float3)"/>
|
||||
public void SetPosition(float3 value) => ((WheelSettings)this).SetPosition(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionForcePoint()"/>
|
||||
public float3 GetSuspensionForcePoint() => ((WheelSettings)this).GetSuspensionForcePoint();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionForcePoint(float3)"/>
|
||||
public void SetSuspensionForcePoint(float3 value) => ((WheelSettings)this).SetSuspensionForcePoint(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionDirection()"/>
|
||||
public float3 GetSuspensionDirection() => ((WheelSettings)this).GetSuspensionDirection();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionDirection(float3)"/>
|
||||
public void SetSuspensionDirection(float3 value) => ((WheelSettings)this).SetSuspensionDirection(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSteeringAxis()"/>
|
||||
public float3 GetSteeringAxis() => ((WheelSettings)this).GetSteeringAxis();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSteeringAxis(float3)"/>
|
||||
public void SetSteeringAxis(float3 value) => ((WheelSettings)this).SetSteeringAxis(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetWheelUp()"/>
|
||||
public float3 GetWheelUp() => ((WheelSettings)this).GetWheelUp();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetWheelUp(float3)"/>
|
||||
public void SetWheelUp(float3 value) => ((WheelSettings)this).SetWheelUp(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetWheelForward()"/>
|
||||
public float3 GetWheelForward() => ((WheelSettings)this).GetWheelForward();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetWheelForward(float3)"/>
|
||||
public void SetWheelForward(float3 value) => ((WheelSettings)this).SetWheelForward(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionMinLength()"/>
|
||||
public float GetSuspensionMinLength() => ((WheelSettings)this).GetSuspensionMinLength();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionMinLength(float)"/>
|
||||
public void SetSuspensionMinLength(float value) => ((WheelSettings)this).SetSuspensionMinLength(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionMaxLength()"/>
|
||||
public float GetSuspensionMaxLength() => ((WheelSettings)this).GetSuspensionMaxLength();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionMaxLength(float)"/>
|
||||
public void SetSuspensionMaxLength(float value) => ((WheelSettings)this).SetSuspensionMaxLength(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionPreloadLength()"/>
|
||||
public float GetSuspensionPreloadLength() => ((WheelSettings)this).GetSuspensionPreloadLength();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionPreloadLength(float)"/>
|
||||
public void SetSuspensionPreloadLength(float value) => ((WheelSettings)this).SetSuspensionPreloadLength(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetSuspensionSpring()"/>
|
||||
public SpringSettings GetSuspensionSpring() => ((WheelSettings)this).GetSuspensionSpring();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetSuspensionSpring(SpringSettings)"/>
|
||||
public void SetSuspensionSpring(SpringSettings value) => ((WheelSettings)this).SetSuspensionSpring(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetRadius()"/>
|
||||
public float GetRadius() => ((WheelSettings)this).GetRadius();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetRadius(float)"/>
|
||||
public void SetRadius(float value) => ((WheelSettings)this).SetRadius(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetWidth()"/>
|
||||
public float GetWidth() => ((WheelSettings)this).GetWidth();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetWidth(float)"/>
|
||||
public void SetWidth(float value) => ((WheelSettings)this).SetWidth(value);
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.GetEnableSuspensionForcePoint()"/>
|
||||
public bool GetEnableSuspensionForcePoint() => ((WheelSettings)this).GetEnableSuspensionForcePoint();
|
||||
|
||||
/// <inheritdoc cref="WheelSettings.SetEnableSuspensionForcePoint(bool)"/>
|
||||
public void SetEnableSuspensionForcePoint(bool value) =>
|
||||
((WheelSettings)this).SetEnableSuspensionForcePoint(value);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue