brutal/Brutal.Jolt/Generated/Classes/HingeConstraint.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

493 lines
24 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>
/// A hinge constraint constrains 2 bodies on a single point and allows only a single axis of rotation
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L65">Jolt/Physics/Constraints/HingeConstraint.h:65</see>
/// <br/>
/// <c>class HingeConstraint final : public TwoBodyConstraint</c>
/// </para>
/// </summary>
[InteropHandle]
public readonly partial struct HingeConstraint : IDisposable
{
/// <summary>
/// <para>
/// Construct hinge constraint
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L71">Jolt/Physics/Constraints/HingeConstraint.h:71</see>
/// <br/>
/// <c>HingeConstraint(Body &amp;inBody1, Body &amp;inBody2, const HingeConstraintSettings &amp;inSettings)</c>
/// </para>
/// </summary>
public static HingeConstraint Create(Body body1, Body body2, HingeConstraintSettings settings) =>
Jolt.PInvoke.HingeConstraint_Create(body1, body2, settings);
/// <inheritdoc cref="Constraint.GetSubType()"/>
public ConstraintSubType GetSubType() => ((Constraint)this).GetSubType();
/// <inheritdoc cref="Constraint.NotifyShapeChanged(uint, float3)"/>
public void NotifyShapeChanged(uint bodyID, float3 deltaCOM) =>
((Constraint)this).NotifyShapeChanged(bodyID, deltaCOM);
/// <inheritdoc cref="Constraint.SetupVelocityConstraint(float)"/>
public void SetupVelocityConstraint(float deltaTime) => ((Constraint)this).SetupVelocityConstraint(deltaTime);
/// <inheritdoc cref="Constraint.ResetWarmStart()"/>
public void ResetWarmStart() => ((Constraint)this).ResetWarmStart();
/// <inheritdoc cref="Constraint.WarmStartVelocityConstraint(float)"/>
public void WarmStartVelocityConstraint(float warmStartImpulseRatio) =>
((Constraint)this).WarmStartVelocityConstraint(warmStartImpulseRatio);
/// <inheritdoc cref="Constraint.SolveVelocityConstraint(float)"/>
public bool SolveVelocityConstraint(float deltaTime) => ((Constraint)this).SolveVelocityConstraint(deltaTime);
/// <inheritdoc cref="Constraint.SolvePositionConstraint(float, float)"/>
public bool SolvePositionConstraint(float deltaTime, float baumgarte) =>
((Constraint)this).SolvePositionConstraint(deltaTime, baumgarte);
/// <inheritdoc cref="Constraint.DrawConstraint(DebugRenderer)"/>
public void DrawConstraint(DebugRenderer renderer) => ((Constraint)this).DrawConstraint(renderer);
/// <inheritdoc cref="Constraint.DrawConstraintLimits(DebugRenderer)"/>
public void DrawConstraintLimits(DebugRenderer renderer) => ((Constraint)this).DrawConstraintLimits(renderer);
/// <inheritdoc cref="Constraint.GetConstraintSettings()"/>
public ConstraintSettings GetConstraintSettings() => ((Constraint)this).GetConstraintSettings();
/// <inheritdoc cref="TwoBodyConstraint.GetConstraintToBody1Matrix()"/>
public float4x4 GetConstraintToBody1Matrix() => ((TwoBodyConstraint)this).GetConstraintToBody1Matrix();
/// <inheritdoc cref="TwoBodyConstraint.GetConstraintToBody2Matrix()"/>
public float4x4 GetConstraintToBody2Matrix() => ((TwoBodyConstraint)this).GetConstraintToBody2Matrix();
/// <summary>
/// <para>
/// Get the attachment point for body 1 relative to body 1 COM (transform by Body::GetCenterOfMassTransform
/// to take to world space)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L94">Jolt/Physics/Constraints/HingeConstraint.h:94</see>
/// <br/>
/// <c>inline Vec3 GetLocalSpacePoint1() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpacePoint1() => Jolt.PInvoke.HingeConstraint_GetLocalSpacePoint1(this);
/// <summary>
/// <para>
/// Get the attachment point for body 2 relative to body 2 COM (transform by Body::GetCenterOfMassTransform
/// to take to world space)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L97">Jolt/Physics/Constraints/HingeConstraint.h:97</see>
/// <br/>
/// <c>inline Vec3 GetLocalSpacePoint2() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpacePoint2() => Jolt.PInvoke.HingeConstraint_GetLocalSpacePoint2(this);
/// <summary>
/// <para>
/// Local space hinge directions (transform direction by Body::GetCenterOfMassTransform to take to world
/// space)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L100">Jolt/Physics/Constraints/HingeConstraint.h:100</see>
/// <br/>
/// <c>Vec3 GetLocalSpaceHingeAxis1() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpaceHingeAxis1() => Jolt.PInvoke.HingeConstraint_GetLocalSpaceHingeAxis1(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L101">Jolt/Physics/Constraints/HingeConstraint.h:101</see>
/// <br/>
/// <c>Vec3 GetLocalSpaceHingeAxis2() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpaceHingeAxis2() => Jolt.PInvoke.HingeConstraint_GetLocalSpaceHingeAxis2(this);
/// <summary>
/// <para>
/// Local space normal directions (transform direction by Body::GetCenterOfMassTransform to take to world
/// space)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L104">Jolt/Physics/Constraints/HingeConstraint.h:104</see>
/// <br/>
/// <c>Vec3 GetLocalSpaceNormalAxis1() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpaceNormalAxis1() => Jolt.PInvoke.HingeConstraint_GetLocalSpaceNormalAxis1(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L105">Jolt/Physics/Constraints/HingeConstraint.h:105</see>
/// <br/>
/// <c>Vec3 GetLocalSpaceNormalAxis2() const</c>
/// </para>
/// </summary>
public float3 GetLocalSpaceNormalAxis2() => Jolt.PInvoke.HingeConstraint_GetLocalSpaceNormalAxis2(this);
/// <summary>
/// <para>
/// Get the current rotation angle from the rest position
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L108">Jolt/Physics/Constraints/HingeConstraint.h:108</see>
/// <br/>
/// <c>float GetCurrentAngle() const</c>
/// </para>
/// </summary>
public float GetCurrentAngle() => Jolt.PInvoke.HingeConstraint_GetCurrentAngle(this);
/// <summary>
/// <para>
/// Friction control
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L111">Jolt/Physics/Constraints/HingeConstraint.h:111</see>
/// <br/>
/// <c>void SetMaxFrictionTorque(float inFrictionTorque)</c>
/// </para>
/// </summary>
public void SetMaxFrictionTorque(float frictionTorque) =>
Jolt.PInvoke.HingeConstraint_SetMaxFrictionTorque(this, frictionTorque);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L112">Jolt/Physics/Constraints/HingeConstraint.h:112</see>
/// <br/>
/// <c>float GetMaxFrictionTorque() const</c>
/// </para>
/// </summary>
public float GetMaxFrictionTorque() => Jolt.PInvoke.HingeConstraint_GetMaxFrictionTorque(this);
/// <summary>
/// <para>
/// Motor settings
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L115">Jolt/Physics/Constraints/HingeConstraint.h:115</see>
/// <br/>
/// <c>MotorSettings &amp; GetMotorSettings()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
public MotorSettings GetMotorSettings() => Jolt.PInvoke.HingeConstraint_GetMotorSettings(this);
/// <summary>
/// <para>
/// Motor controls
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L119">Jolt/Physics/Constraints/HingeConstraint.h:119</see>
/// <br/>
/// <c>void SetMotorState(EMotorState inState)</c>
/// </para>
/// </summary>
public void SetMotorState(MotorState state) => Jolt.PInvoke.HingeConstraint_SetMotorState(this, state);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L120">Jolt/Physics/Constraints/HingeConstraint.h:120</see>
/// <br/>
/// <c>EMotorState GetMotorState() const</c>
/// </para>
/// </summary>
public MotorState GetMotorState() => Jolt.PInvoke.HingeConstraint_GetMotorState(this);
/// <summary>
/// <para>
/// rad/s
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L121">Jolt/Physics/Constraints/HingeConstraint.h:121</see>
/// <br/>
/// <c>void SetTargetAngularVelocity(float inAngularVelocity)</c>
/// </para>
/// </summary>
public void SetTargetAngularVelocity(float angularVelocity) =>
Jolt.PInvoke.HingeConstraint_SetTargetAngularVelocity(this, angularVelocity);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L122">Jolt/Physics/Constraints/HingeConstraint.h:122</see>
/// <br/>
/// <c>float GetTargetAngularVelocity() const</c>
/// </para>
/// </summary>
public float GetTargetAngularVelocity() => Jolt.PInvoke.HingeConstraint_GetTargetAngularVelocity(this);
/// <summary>
/// <para>
/// rad
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L123">Jolt/Physics/Constraints/HingeConstraint.h:123</see>
/// <br/>
/// <c>void SetTargetAngle(float inAngle)</c>
/// </para>
/// </summary>
public void SetTargetAngle(float angle) => Jolt.PInvoke.HingeConstraint_SetTargetAngle(this, angle);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L124">Jolt/Physics/Constraints/HingeConstraint.h:124</see>
/// <br/>
/// <c>float GetTargetAngle() const</c>
/// </para>
/// </summary>
public float GetTargetAngle() => Jolt.PInvoke.HingeConstraint_GetTargetAngle(this);
/// <summary>
/// <para>
/// Set the target orientation in body space (R2 = R1 * inOrientation, where R1 and R2 are the world space
/// rotations for body 1 and 2). Calculates the local space target angle and calls SetTargetAngle. Motor
/// state must be EMotorState::Position or EMotorState::PositionAndVelocity for this to have any effect. May
/// set the wrong angle if inOrientation contains large rotations around other axis than the hinge axis.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L129">Jolt/Physics/Constraints/HingeConstraint.h:129</see>
/// <br/>
/// <c>void SetTargetOrientationBS(QuatArg inOrientation)</c>
/// </para>
/// </summary>
public void SetTargetOrientationBS(floatQuat orientation) =>
Jolt.PInvoke.HingeConstraint_SetTargetOrientationBS(this, orientation);
/// <summary>
/// <para>
/// Update the rotation limits of the hinge, value in radians (see HingeConstraintSettings)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L132">Jolt/Physics/Constraints/HingeConstraint.h:132</see>
/// <br/>
/// <c>void SetLimits(float inLimitsMin, float inLimitsMax)</c>
/// </para>
/// </summary>
public void SetLimits(float limitsMin, float limitsMax) =>
Jolt.PInvoke.HingeConstraint_SetLimits(this, limitsMin, limitsMax);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L133">Jolt/Physics/Constraints/HingeConstraint.h:133</see>
/// <br/>
/// <c>float GetLimitsMin() const</c>
/// </para>
/// </summary>
public float GetLimitsMin() => Jolt.PInvoke.HingeConstraint_GetLimitsMin(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L134">Jolt/Physics/Constraints/HingeConstraint.h:134</see>
/// <br/>
/// <c>float GetLimitsMax() const</c>
/// </para>
/// </summary>
public float GetLimitsMax() => Jolt.PInvoke.HingeConstraint_GetLimitsMax(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L135">Jolt/Physics/Constraints/HingeConstraint.h:135</see>
/// <br/>
/// <c>bool HasLimits() const</c>
/// </para>
/// </summary>
public bool HasLimits() => Jolt.PInvoke.HingeConstraint_HasLimits(this);
/// <summary>
/// <para>
/// Update the limits spring settings
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L138">Jolt/Physics/Constraints/HingeConstraint.h:138</see>
/// <br/>
/// <c>const SpringSettings &amp; GetLimitsSpringSettings() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
public SpringSettings GetLimitsSpringSettings() => Jolt.PInvoke.HingeConstraint_GetLimitsSpringSettings(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L140">Jolt/Physics/Constraints/HingeConstraint.h:140</see>
/// <br/>
/// <c>void SetLimitsSpringSettings(const SpringSettings &amp;inLimitsSpringSettings)</c>
/// </para>
/// </summary>
public void SetLimitsSpringSettings(SpringSettings limitsSpringSettings) =>
Jolt.PInvoke.HingeConstraint_SetLimitsSpringSettings(this, limitsSpringSettings);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L143">Jolt/Physics/Constraints/HingeConstraint.h:143</see>
/// <br/>
/// <c>inline Vec3 GetTotalLambdaPosition() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// @name Get Lagrange multiplier from last physics update (the linear/angular impulse applied to satisfy
/// the constraint)
/// </para>
/// </remarks>
public float3 GetTotalLambdaPosition() => Jolt.PInvoke.HingeConstraint_GetTotalLambdaPosition(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L144">Jolt/Physics/Constraints/HingeConstraint.h:144</see>
/// <br/>
/// <c>inline Vector&lt;2&gt; GetTotalLambdaRotation() const</c>
/// </para>
/// </summary>
public float2 GetTotalLambdaRotation() => Jolt.PInvoke.HingeConstraint_GetTotalLambdaRotation(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L145">Jolt/Physics/Constraints/HingeConstraint.h:145</see>
/// <br/>
/// <c>inline float GetTotalLambdaRotationLimits() const</c>
/// </para>
/// </summary>
public float GetTotalLambdaRotationLimits() => Jolt.PInvoke.HingeConstraint_GetTotalLambdaRotationLimits(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L146">Jolt/Physics/Constraints/HingeConstraint.h:146</see>
/// <br/>
/// <c>inline float GetTotalLambdaMotor() const</c>
/// </para>
/// </summary>
public float GetTotalLambdaMotor() => Jolt.PInvoke.HingeConstraint_GetTotalLambdaMotor(this);
public void AddRef() => ((Constraint)this).AddRef();
public void Release() => ((Constraint)this).Release();
public uint GetRefCount() => ((Constraint)this).GetRefCount();
public static implicit operator TwoBodyConstraint(HingeConstraint value) =>
Unsafe.BitCast<HingeConstraint, TwoBodyConstraint>(value);
public static implicit operator Constraint(HingeConstraint value) =>
Unsafe.BitCast<HingeConstraint, Constraint>(value);
public void Dispose()
{
if (IsNull())
return;
Release();
}
/// <inheritdoc cref="TwoBodyConstraint.GetBody1()"/>
public Body GetBody1() => ((TwoBodyConstraint)this).GetBody1();
/// <inheritdoc cref="TwoBodyConstraint.GetBody2()"/>
public Body GetBody2() => ((TwoBodyConstraint)this).GetBody2();
/// <inheritdoc cref="Constraint.GetConstraintType()"/>
public ConstraintType GetConstraintType() => ((Constraint)this).GetConstraintType();
/// <inheritdoc cref="Constraint.GetConstraintPriority()"/>
public uint GetConstraintPriority() => ((Constraint)this).GetConstraintPriority();
/// <inheritdoc cref="Constraint.SetConstraintPriority(uint)"/>
public void SetConstraintPriority(uint priority) => ((Constraint)this).SetConstraintPriority(priority);
/// <inheritdoc cref="Constraint.SetNumVelocityStepsOverride(uint)"/>
public void SetNumVelocityStepsOverride(uint n) => ((Constraint)this).SetNumVelocityStepsOverride(n);
/// <inheritdoc cref="Constraint.GetNumVelocityStepsOverride()"/>
public uint GetNumVelocityStepsOverride() => ((Constraint)this).GetNumVelocityStepsOverride();
/// <inheritdoc cref="Constraint.SetNumPositionStepsOverride(uint)"/>
public void SetNumPositionStepsOverride(uint n) => ((Constraint)this).SetNumPositionStepsOverride(n);
/// <inheritdoc cref="Constraint.GetNumPositionStepsOverride()"/>
public uint GetNumPositionStepsOverride() => ((Constraint)this).GetNumPositionStepsOverride();
/// <inheritdoc cref="Constraint.SetEnabled(bool)"/>
public void SetEnabled(bool enabled) => ((Constraint)this).SetEnabled(enabled);
/// <inheritdoc cref="Constraint.GetEnabled()"/>
public bool GetEnabled() => ((Constraint)this).GetEnabled();
/// <inheritdoc cref="Constraint.GetUserData()"/>
public ulong GetUserData() => ((Constraint)this).GetUserData();
/// <inheritdoc cref="Constraint.SetUserData(ulong)"/>
public void SetUserData(ulong userData) => ((Constraint)this).SetUserData(userData);
/// <inheritdoc cref="Constraint.IsActive()"/>
public bool IsActive() => ((Constraint)this).IsActive();
/// <inheritdoc cref="Constraint.BuildIslands(uint, IslandBuilder, BodyManager)"/>
public void BuildIslands(uint constraintIndex, IslandBuilder builder, BodyManager bodyManager) =>
((Constraint)this).BuildIslands(constraintIndex, builder, bodyManager);
/// <inheritdoc cref="Constraint.BuildIslandSplits(LargeIslandSplitter)"/>
public uint BuildIslandSplits(LargeIslandSplitter splitter) => ((Constraint)this).BuildIslandSplits(splitter);
/// <inheritdoc cref="Constraint.DrawConstraintReferenceFrame(DebugRenderer)"/>
public void DrawConstraintReferenceFrame(DebugRenderer renderer) =>
((Constraint)this).DrawConstraintReferenceFrame(renderer);
/// <inheritdoc cref="Constraint.GetDrawConstraintSize()"/>
public float GetDrawConstraintSize() => ((Constraint)this).GetDrawConstraintSize();
/// <inheritdoc cref="Constraint.SetDrawConstraintSize(float)"/>
public void SetDrawConstraintSize(float size) => ((Constraint)this).SetDrawConstraintSize(size);
}
}