mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
91 lines
3.7 KiB
C#
91 lines
3.7 KiB
C#
// <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>
|
|
/// Basic settings object for interface that controls acceleration / deceleration of the vehicle
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L24">Jolt/Physics/Vehicle/VehicleController.h:24</see>
|
|
/// <br/>
|
|
/// <c>class VehicleControllerSettings : public SerializableObject, public RefTarget<VehicleControllerSettings></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[InteropHandle]
|
|
public readonly partial struct VehicleControllerSettings : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L26">Jolt/Physics/Vehicle/VehicleController.h:26</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.VehicleControllerSettings_GetRTTI(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L26">Jolt/Physics/Vehicle/VehicleController.h:26</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
public unsafe Ptr CastTo(RTTI rtti) => Jolt.PInvoke.VehicleControllerSettings_CastTo(this, rtti);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Saves the contents of the controller settings in binary form to inStream.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L30">Jolt/Physics/Vehicle/VehicleController.h:30</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SaveBinaryState(StreamOut stream) =>
|
|
Jolt.PInvoke.VehicleControllerSettings_SaveBinaryState(this, stream);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Restore the contents of the controller settings in binary form from inStream.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L33">Jolt/Physics/Vehicle/VehicleController.h:33</see>
|
|
/// <br/>
|
|
/// <c>virtual void RestoreBinaryState(StreamIn &inStream) = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void RestoreBinaryState(StreamIn stream) =>
|
|
Jolt.PInvoke.VehicleControllerSettings_RestoreBinaryState(this, stream);
|
|
|
|
public void AddRef() => Jolt.PInvoke.VehicleControllerSettings_AddRef(this);
|
|
|
|
public void Release() => Jolt.PInvoke.VehicleControllerSettings_Release(this);
|
|
|
|
public uint GetRefCount() => Jolt.PInvoke.VehicleControllerSettings_GetRefCount(this);
|
|
|
|
public void Dispose()
|
|
{
|
|
if (IsNull())
|
|
return;
|
|
Release();
|
|
}
|
|
}
|
|
}
|