mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
493 lines
30 KiB
C#
493 lines
30 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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L69">Jolt/Physics/Vehicle/VehicleConstraint.h:69</see>
|
|
/// <br/>
|
|
/// <c>VehicleConstraint(Body &inVehicleBody, const VehicleConstraintSettings &inSettings)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor / destructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_Create")]
|
|
public static partial VehicleConstraint VehicleConstraint_Create(Body vehicleBody, VehicleConstraintSettings settings);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L73">Jolt/Physics/Vehicle/VehicleConstraint.h:73</see>
|
|
/// <br/>
|
|
/// <c>virtual EConstraintSubType GetSubType() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the type of a constraint
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetSubType")]
|
|
public static partial EConstraintSubType VehicleConstraint_GetSubType(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L76">Jolt/Physics/Vehicle/VehicleConstraint.h:76</see>
|
|
/// <br/>
|
|
/// <c>void SetMaxPitchRollAngle(float inMaxPitchRollAngle)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <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>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SetMaxPitchRollAngle")]
|
|
public static partial void VehicleConstraint_SetMaxPitchRollAngle(VehicleConstraint self, float maxPitchRollAngle);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L77">Jolt/Physics/Vehicle/VehicleConstraint.h:77</see>
|
|
/// <br/>
|
|
/// <c>float GetMaxPitchRollAngle() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetMaxPitchRollAngle")]
|
|
public static partial float VehicleConstraint_GetMaxPitchRollAngle(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L80">Jolt/Physics/Vehicle/VehicleConstraint.h:80</see>
|
|
/// <br/>
|
|
/// <c>void SetVehicleCollisionTester(const VehicleCollisionTester *inTester)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the interface that tests collision between wheel and ground
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SetVehicleCollisionTester")]
|
|
public static partial void VehicleConstraint_SetVehicleCollisionTester(VehicleConstraint self, VehicleCollisionTester tester);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L81">Jolt/Physics/Vehicle/VehicleConstraint.h:81</see>
|
|
/// <br/>
|
|
/// <c>const VehicleCollisionTester *GetVehicleCollisionTester() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetVehicleCollisionTester")]
|
|
public static partial VehicleCollisionTester VehicleConstraint_GetVehicleCollisionTester(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L114">Jolt/Physics/Vehicle/VehicleConstraint.h:114</see>
|
|
/// <br/>
|
|
/// <c>void OverrideGravity(Vec3Arg inGravity)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Override gravity for this vehicle. Note that overriding gravity will set the gravity factor of the
|
|
/// vehicle body to 0 and apply gravity in the PhysicsStepListener instead.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_OverrideGravity")]
|
|
public static partial void VehicleConstraint_OverrideGravity(VehicleConstraint self, float3 gravity);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L115">Jolt/Physics/Vehicle/VehicleConstraint.h:115</see>
|
|
/// <br/>
|
|
/// <c>bool IsGravityOverridden() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_IsGravityOverridden")]
|
|
public static partial Brutal.Bool8 VehicleConstraint_IsGravityOverridden(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L116">Jolt/Physics/Vehicle/VehicleConstraint.h:116</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetGravityOverride() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetGravityOverride")]
|
|
public static partial float3 VehicleConstraint_GetGravityOverride(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Note that resetting the gravity override will restore the gravity factor of the vehicle body to 1.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L117">Jolt/Physics/Vehicle/VehicleConstraint.h:117</see>
|
|
/// <br/>
|
|
/// <c>void ResetGravityOverride()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_ResetGravityOverride")]
|
|
public static partial void VehicleConstraint_ResetGravityOverride(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L120">Jolt/Physics/Vehicle/VehicleConstraint.h:120</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetLocalForward() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the local space forward vector of the vehicle
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetLocalForward")]
|
|
public static partial float3 VehicleConstraint_GetLocalForward(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L123">Jolt/Physics/Vehicle/VehicleConstraint.h:123</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetLocalUp() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the local space up vector of the vehicle
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetLocalUp")]
|
|
public static partial float3 VehicleConstraint_GetLocalUp(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L126">Jolt/Physics/Vehicle/VehicleConstraint.h:126</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetWorldUp() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Vector indicating the world space up direction (used to limit vehicle pitch/roll), calculated every
|
|
/// frame by inverting gravity
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetWorldUp")]
|
|
public static partial float3 VehicleConstraint_GetWorldUp(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L129">Jolt/Physics/Vehicle/VehicleConstraint.h:129</see>
|
|
/// <br/>
|
|
/// <c>Body * GetVehicleBody() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access to the vehicle body
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetVehicleBody")]
|
|
public static partial Body VehicleConstraint_GetVehicleBody(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L132">Jolt/Physics/Vehicle/VehicleConstraint.h:132</see>
|
|
/// <br/>
|
|
/// <c>const VehicleController * GetController() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access to the vehicle controller interface (determines acceleration / deceleration)
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetController")]
|
|
public static partial VehicleController VehicleConstraint_GetController(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L144">Jolt/Physics/Vehicle/VehicleConstraint.h:144</see>
|
|
/// <br/>
|
|
/// <c>Wheel * GetWheel(uint inIdx)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the state of a wheel
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetWheel")]
|
|
public static partial Wheel VehicleConstraint_GetWheel(VehicleConstraint self, uint idx);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L152">Jolt/Physics/Vehicle/VehicleConstraint.h:152</see>
|
|
/// <br/>
|
|
/// <c>void GetWheelLocalBasis(const Wheel *inWheel, Vec3 &outForward, Vec3 &outUp, Vec3 &outRight) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Get the basis vectors for the wheel in local space to the vehicle body (note: basis does not rotate when the wheel rotates around its axis)
|
|
/// @param inWheel Wheel to fetch basis for
|
|
/// @param outForward Forward vector for the wheel
|
|
/// @param outUp Up vector for the wheel
|
|
/// @param outRight Right vector for the wheel
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetWheelLocalBasis")]
|
|
public static partial void VehicleConstraint_GetWheelLocalBasis(VehicleConstraint self, Wheel wheel, out float3 forward, out float3 up, out float3 right);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L158">Jolt/Physics/Vehicle/VehicleConstraint.h:158</see>
|
|
/// <br/>
|
|
/// <c>Mat44 GetWheelLocalTransform(uint inWheelIndex, Vec3Arg inWheelRight, Vec3Arg inWheelUp) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Get the transform of a wheel in local space to the vehicle body, returns a matrix that transforms a cylinder aligned with the Y axis in body space (not COM space)
|
|
/// @param inWheelIndex Index of the wheel to fetch
|
|
/// @param inWheelRight Unit vector that indicates right in model space of the wheel (so if you only have 1 wheel model, you probably want to specify the opposite direction for the left and right wheels)
|
|
/// @param inWheelUp Unit vector that indicates up in model space of the wheel
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetWheelLocalTransform")]
|
|
public static partial float4x4 VehicleConstraint_GetWheelLocalTransform(VehicleConstraint self, uint wheelIndex, float3 wheelRight, float3 wheelUp);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L164">Jolt/Physics/Vehicle/VehicleConstraint.h:164</see>
|
|
/// <br/>
|
|
/// <c>RMat44 GetWheelWorldTransform(uint inWheelIndex, Vec3Arg inWheelRight, Vec3Arg inWheelUp) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Get the transform of a wheel in world space, returns a matrix that transforms a cylinder aligned with the Y axis in world space
|
|
/// @param inWheelIndex Index of the wheel to fetch
|
|
/// @param inWheelRight Unit vector that indicates right in model space of the wheel (so if you only have 1 wheel model, you probably want to specify the opposite direction for the left and right wheels)
|
|
/// @param inWheelUp Unit vector that indicates up in model space of the wheel
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetWheelWorldTransform")]
|
|
public static partial float4x4 VehicleConstraint_GetWheelWorldTransform(VehicleConstraint self, uint wheelIndex, float3 wheelRight, float3 wheelUp);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L174">Jolt/Physics/Vehicle/VehicleConstraint.h:174</see>
|
|
/// <br/>
|
|
/// <c>void SetNumStepsBetweenCollisionTestActive(uint inSteps)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Number of simulation steps between wheel collision tests when the vehicle is active. Default is 1. 0 = never, 1 = every step, 2 = every other step, etc.
|
|
/// Note that if a vehicle has multiple wheels and the number of steps &gt; 1, the wheels will be tested in a round robin fashion.
|
|
/// If there are multiple vehicles, the tests will be spread out based on the BodyID of the vehicle.
|
|
/// If you set this to test less than every step, you may see simulation artifacts. This setting can be used to reduce the cost of simulating vehicles in the distance.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SetNumStepsBetweenCollisionTestActive")]
|
|
public static partial void VehicleConstraint_SetNumStepsBetweenCollisionTestActive(VehicleConstraint self, uint steps);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L175">Jolt/Physics/Vehicle/VehicleConstraint.h:175</see>
|
|
/// <br/>
|
|
/// <c>uint GetNumStepsBetweenCollisionTestActive() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetNumStepsBetweenCollisionTestActive")]
|
|
public static partial uint VehicleConstraint_GetNumStepsBetweenCollisionTestActive(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L182">Jolt/Physics/Vehicle/VehicleConstraint.h:182</see>
|
|
/// <br/>
|
|
/// <c>void SetNumStepsBetweenCollisionTestInactive(uint inSteps)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Number of simulation steps between wheel collision tests when the vehicle is inactive. Default is 1. 0 = never, 1 = every step, 2 = every other step, etc.
|
|
/// Note that if a vehicle has multiple wheels and the number of steps &gt; 1, the wheels will be tested in a round robin fashion.
|
|
/// If there are multiple vehicles, the tests will be spread out based on the BodyID of the vehicle.
|
|
/// This number can be lower than the number of steps when the vehicle is active as the only purpose of this test is
|
|
/// to allow the vehicle to wake up in response to bodies moving into the wheels but not touching the body of the vehicle.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SetNumStepsBetweenCollisionTestInactive")]
|
|
public static partial void VehicleConstraint_SetNumStepsBetweenCollisionTestInactive(VehicleConstraint self, uint steps);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L183">Jolt/Physics/Vehicle/VehicleConstraint.h:183</see>
|
|
/// <br/>
|
|
/// <c>uint GetNumStepsBetweenCollisionTestInactive() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetNumStepsBetweenCollisionTestInactive")]
|
|
public static partial uint VehicleConstraint_GetNumStepsBetweenCollisionTestInactive(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L186">Jolt/Physics/Vehicle/VehicleConstraint.h:186</see>
|
|
/// <br/>
|
|
/// <c>virtual bool IsActive() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Generic interface of a constraint
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_IsActive")]
|
|
public static partial Brutal.Bool8 VehicleConstraint_IsActive(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L187">Jolt/Physics/Vehicle/VehicleConstraint.h:187</see>
|
|
/// <br/>
|
|
/// <c>virtual void NotifyShapeChanged(const BodyID &inBodyID, Vec3Arg inDeltaCOM) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_NotifyShapeChanged")]
|
|
public static partial void VehicleConstraint_NotifyShapeChanged(VehicleConstraint self, uint bodyID, float3 deltaCOM);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L188">Jolt/Physics/Vehicle/VehicleConstraint.h:188</see>
|
|
/// <br/>
|
|
/// <c>virtual void SetupVelocityConstraint(float inDeltaTime) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SetupVelocityConstraint")]
|
|
public static partial void VehicleConstraint_SetupVelocityConstraint(VehicleConstraint self, float deltaTime);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L189">Jolt/Physics/Vehicle/VehicleConstraint.h:189</see>
|
|
/// <br/>
|
|
/// <c>virtual void ResetWarmStart() override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_ResetWarmStart")]
|
|
public static partial void VehicleConstraint_ResetWarmStart(VehicleConstraint self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L190">Jolt/Physics/Vehicle/VehicleConstraint.h:190</see>
|
|
/// <br/>
|
|
/// <c>virtual void WarmStartVelocityConstraint(float inWarmStartImpulseRatio) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_WarmStartVelocityConstraint")]
|
|
public static partial void VehicleConstraint_WarmStartVelocityConstraint(VehicleConstraint self, float warmStartImpulseRatio);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L191">Jolt/Physics/Vehicle/VehicleConstraint.h:191</see>
|
|
/// <br/>
|
|
/// <c>virtual bool SolveVelocityConstraint(float inDeltaTime) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 VehicleConstraint_SolveVelocityConstraint(VehicleConstraint self, float deltaTime);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L192">Jolt/Physics/Vehicle/VehicleConstraint.h:192</see>
|
|
/// <br/>
|
|
/// <c>virtual bool SolvePositionConstraint(float inDeltaTime, float inBaumgarte) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 VehicleConstraint_SolvePositionConstraint(VehicleConstraint self, float deltaTime, float baumgarte);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L193">Jolt/Physics/Vehicle/VehicleConstraint.h:193</see>
|
|
/// <br/>
|
|
/// <c>virtual void BuildIslands(uint32 inConstraintIndex, IslandBuilder &ioBuilder, BodyManager &inBodyManager) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_BuildIslands")]
|
|
public static partial void VehicleConstraint_BuildIslands(VehicleConstraint self, uint constraintIndex, IslandBuilder builder, BodyManager bodyManager);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L194">Jolt/Physics/Vehicle/VehicleConstraint.h:194</see>
|
|
/// <br/>
|
|
/// <c>virtual uint BuildIslandSplits(LargeIslandSplitter &ioSplitter) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_BuildIslandSplits")]
|
|
public static partial uint VehicleConstraint_BuildIslandSplits(VehicleConstraint self, LargeIslandSplitter splitter);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L196">Jolt/Physics/Vehicle/VehicleConstraint.h:196</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawConstraint(DebugRenderer *inRenderer) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_DrawConstraint")]
|
|
public static partial void VehicleConstraint_DrawConstraint(VehicleConstraint self, DebugRenderer renderer);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L197">Jolt/Physics/Vehicle/VehicleConstraint.h:197</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawConstraintLimits(DebugRenderer *inRenderer) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_DrawConstraintLimits")]
|
|
public static partial void VehicleConstraint_DrawConstraintLimits(VehicleConstraint self, DebugRenderer renderer);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleConstraint.h#L201">Jolt/Physics/Vehicle/VehicleConstraint.h:201</see>
|
|
/// <br/>
|
|
/// <c>virtual Ref<ConstraintSettings> GetConstraintSettings() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetConstraintSettings")]
|
|
public static partial ConstraintSettings VehicleConstraint_GetConstraintSettings(VehicleConstraint self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_AddRef")]
|
|
public static partial void VehicleConstraint_AddRef(VehicleConstraint self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_Release")]
|
|
public static partial void VehicleConstraint_Release(VehicleConstraint self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_GetRefCount")]
|
|
public static partial uint VehicleConstraint_GetRefCount(VehicleConstraint self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_AsConstraint")]
|
|
public static partial Constraint VehicleConstraint_AsConstraint(VehicleConstraint self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleConstraint_AsPhysicsStepListener")]
|
|
public static partial PhysicsStepListener VehicleConstraint_AsPhysicsStepListener(VehicleConstraint self);
|
|
}
|
|
}
|
|
}
|