mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
173 lines
10 KiB
C#
173 lines
10 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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_Create")]
|
|
public static partial VehicleConstraintSettings VehicleConstraintSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L25">Jolt/Physics/Vehicle/VehicleConstraint.h:25</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetRTTI")]
|
|
public static partial RTTI VehicleConstraintSettings_GetRTTI(VehicleConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L25">Jolt/Physics/Vehicle/VehicleConstraint.h:25</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_CastTo")]
|
|
public static partial void* VehicleConstraintSettings_CastTo(VehicleConstraintSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L29">Jolt/Physics/Vehicle/VehicleConstraint.h:29</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Saves the contents of the constraint settings in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SaveBinaryState")]
|
|
public static partial void VehicleConstraintSettings_SaveBinaryState(VehicleConstraintSettings self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vector indicating the up direction of the vehicle (in local space to the body)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L31">Jolt/Physics/Vehicle/VehicleConstraint.h:31</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mUp { 0, 1, 0 }</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetUp")]
|
|
public static partial float3 VehicleConstraintSettings_GetUp(VehicleConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vector indicating the up direction of the vehicle (in local space to the body)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L31">Jolt/Physics/Vehicle/VehicleConstraint.h:31</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mUp { 0, 1, 0 }</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetUp")]
|
|
public static partial void VehicleConstraintSettings_SetUp(VehicleConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vector indicating forward direction of the vehicle (in local space to the body)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L32">Jolt/Physics/Vehicle/VehicleConstraint.h:32</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mForward { 0, 0, 1 }</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetForward")]
|
|
public static partial float3 VehicleConstraintSettings_GetForward(VehicleConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vector indicating forward direction of the vehicle (in local space to the body)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L32">Jolt/Physics/Vehicle/VehicleConstraint.h:32</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mForward { 0, 0, 1 }</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetForward")]
|
|
public static partial void VehicleConstraintSettings_SetForward(VehicleConstraintSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Defines the maximum pitch/roll angle (rad), can be used to avoid the car from getting upside down.
|
|
/// The vehicle up direction will stay within a cone centered around the up axis with half top angle
|
|
/// mMaxPitchRollAngle, set to pi to turn off.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L33">Jolt/Physics/Vehicle/VehicleConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>float mMaxPitchRollAngle = JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetMaxPitchRollAngle")]
|
|
public static partial float VehicleConstraintSettings_GetMaxPitchRollAngle(VehicleConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Defines the maximum pitch/roll angle (rad), can be used to avoid the car from getting upside down.
|
|
/// The vehicle up direction will stay within a cone centered around the up axis with half top angle
|
|
/// mMaxPitchRollAngle, set to pi to turn off.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L33">Jolt/Physics/Vehicle/VehicleConstraint.h:33</see>
|
|
/// <br/>
|
|
/// <c>float mMaxPitchRollAngle = JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetMaxPitchRollAngle")]
|
|
public static partial void VehicleConstraintSettings_SetMaxPitchRollAngle(VehicleConstraintSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Defines how the vehicle can accelerate / decelerate
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L36">Jolt/Physics/Vehicle/VehicleConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>Ref<VehicleControllerSettings> mController</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetController")]
|
|
public static partial VehicleControllerSettings VehicleConstraintSettings_GetController(VehicleConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Defines how the vehicle can accelerate / decelerate
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L36">Jolt/Physics/Vehicle/VehicleConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>Ref<VehicleControllerSettings> mController</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_SetController")]
|
|
public static partial void VehicleConstraintSettings_SetController(VehicleConstraintSettings self, VehicleControllerSettings value);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_AddRef")]
|
|
public static partial void VehicleConstraintSettings_AddRef(VehicleConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_Release")]
|
|
public static partial void VehicleConstraintSettings_Release(VehicleConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_GetRefCount")]
|
|
public static partial uint VehicleConstraintSettings_GetRefCount(VehicleConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraintSettings_AsConstraintSettings")]
|
|
public static partial ConstraintSettings VehicleConstraintSettings_AsConstraintSettings(VehicleConstraintSettings self);
|
|
}
|
|
}
|
|
}
|