mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
88
Brutal.Jolt/Generated/Classes/VehicleController.gen.cs
Normal file
88
Brutal.Jolt/Generated/Classes/VehicleController.gen.cs
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
// <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>
|
||||
/// Runtime data 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#L40">Jolt/Physics/Vehicle/VehicleController.h:40</see>
|
||||
/// <br/>
|
||||
/// <c>class VehicleController : public NonCopyable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct VehicleController
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Access the vehicle constraint that this controller is part of
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L50">Jolt/Physics/Vehicle/VehicleController.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>VehicleConstraint & GetConstraint()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle carries its own reference; Dispose it once when you're done.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public VehicleConstraint GetConstraint() => Jolt.PInvoke.VehicleController_GetConstraint(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Recreate the settings for this controller
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Vehicle/VehicleController.h#L54">Jolt/Physics/Vehicle/VehicleController.h:54</see>
|
||||
/// <br/>
|
||||
/// <c>virtual Ref<VehicleControllerSettings> GetSettings() const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle carries its own reference; Dispose it once when you're done.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public VehicleControllerSettings GetSettings() => Jolt.PInvoke.VehicleController_GetSettings(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Views this VehicleController as the WheeledVehicleController it is, or returns a null handle when it is
|
||||
/// a different kind - check IsNull(). The same object, not a new reference: never Dispose the result.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public WheeledVehicleController AsWheeledVehicleController() =>
|
||||
Jolt.PInvoke.VehicleController_AsWheeledVehicleController(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Views this VehicleController as the MotorcycleController it is, or returns a null handle when it is a
|
||||
/// different kind - check IsNull(). The same object, not a new reference: never Dispose the result.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public MotorcycleController AsMotorcycleController() =>
|
||||
Jolt.PInvoke.VehicleController_AsMotorcycleController(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Views this VehicleController as the TrackedVehicleController it is, or returns a null handle when it is
|
||||
/// a different kind - check IsNull(). The same object, not a new reference: never Dispose the result.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public TrackedVehicleController AsTrackedVehicleController() =>
|
||||
Jolt.PInvoke.VehicleController_AsTrackedVehicleController(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue