mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
419 lines
20 KiB
C#
419 lines
20 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>
|
|
/// Hinge constraint settings, used to create a hinge constraint
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L16">Jolt/Physics/Constraints/HingeConstraint.h:16</see>
|
|
/// <br/>
|
|
/// <c>class HingeConstraintSettings final : public TwoBodyConstraintSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[InteropHandle]
|
|
public readonly partial struct HingeConstraintSettings : IDisposable
|
|
{
|
|
public static HingeConstraintSettings Create() => Jolt.PInvoke.HingeConstraintSettings_Create();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetRTTI()"/>
|
|
public RTTI GetRTTI() => ((ConstraintSettings)this).GetRTTI();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.CastTo(RTTI)"/>
|
|
public unsafe Ptr CastTo(RTTI rtti) => ((ConstraintSettings)this).CastTo(rtti);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SaveBinaryState(StreamOut)"/>
|
|
public void SaveBinaryState(StreamOut stream) => ((ConstraintSettings)this).SaveBinaryState(stream);
|
|
|
|
/// <inheritdoc cref="TwoBodyConstraintSettings.Create(Body, Body)"/>
|
|
public TwoBodyConstraint Create(Body body1, Body body2) =>
|
|
((TwoBodyConstraintSettings)this).Create(body1, body2);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the specified
|
|
/// space
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L28">Jolt/Physics/Constraints/HingeConstraint.h:28</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ConstraintSpace GetSpace() => Jolt.PInvoke.HingeConstraintSettings_GetSpace(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// This determines in which space the constraint is setup, all properties below should be in the specified
|
|
/// space
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L28">Jolt/Physics/Constraints/HingeConstraint.h:28</see>
|
|
/// <br/>
|
|
/// <c>EConstraintSpace mSpace = EConstraintSpace::WorldSpace</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetSpace(ConstraintSpace value) => Jolt.PInvoke.HingeConstraintSettings_SetSpace(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body 1 constraint reference frame (space determined by mSpace). Hinge axis is the axis where rotation is
|
|
/// allowed. When the normal axis of both bodies align in world space, the hinge angle is defined to be 0.
|
|
/// mHingeAxis1 and mNormalAxis1 should be perpendicular. mHingeAxis2 and mNormalAxis2 should also be
|
|
/// perpendicular. If you configure the joint in world space and create both bodies with a relative rotation
|
|
/// you want to be defined as zero, you can simply set mHingeAxis1 = mHingeAxis2 and mNormalAxis1 =
|
|
/// mNormalAxis2.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L36">Jolt/Physics/Constraints/HingeConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetPoint1() => Jolt.PInvoke.HingeConstraintSettings_GetPoint1(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body 1 constraint reference frame (space determined by mSpace). Hinge axis is the axis where rotation is
|
|
/// allowed. When the normal axis of both bodies align in world space, the hinge angle is defined to be 0.
|
|
/// mHingeAxis1 and mNormalAxis1 should be perpendicular. mHingeAxis2 and mNormalAxis2 should also be
|
|
/// perpendicular. If you configure the joint in world space and create both bodies with a relative rotation
|
|
/// you want to be defined as zero, you can simply set mHingeAxis1 = mHingeAxis2 and mNormalAxis1 =
|
|
/// mNormalAxis2.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L36">Jolt/Physics/Constraints/HingeConstraint.h:36</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint1 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetPoint1(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetPoint1(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L37">Jolt/Physics/Constraints/HingeConstraint.h:37</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mHingeAxis1 = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetHingeAxis1() => Jolt.PInvoke.HingeConstraintSettings_GetHingeAxis1(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L37">Jolt/Physics/Constraints/HingeConstraint.h:37</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mHingeAxis1 = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetHingeAxis1(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetHingeAxis1(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L38">Jolt/Physics/Constraints/HingeConstraint.h:38</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mNormalAxis1 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetNormalAxis1() => Jolt.PInvoke.HingeConstraintSettings_GetNormalAxis1(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L38">Jolt/Physics/Constraints/HingeConstraint.h:38</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mNormalAxis1 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetNormalAxis1(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetNormalAxis1(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body 2 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L41">Jolt/Physics/Constraints/HingeConstraint.h:41</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetPoint2() => Jolt.PInvoke.HingeConstraintSettings_GetPoint2(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body 2 constraint reference frame (space determined by mSpace)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L41">Jolt/Physics/Constraints/HingeConstraint.h:41</see>
|
|
/// <br/>
|
|
/// <c>RVec3 mPoint2 = RVec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetPoint2(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetPoint2(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L42">Jolt/Physics/Constraints/HingeConstraint.h:42</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mHingeAxis2 = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetHingeAxis2() => Jolt.PInvoke.HingeConstraintSettings_GetHingeAxis2(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L42">Jolt/Physics/Constraints/HingeConstraint.h:42</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mHingeAxis2 = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetHingeAxis2(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetHingeAxis2(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L43">Jolt/Physics/Constraints/HingeConstraint.h:43</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mNormalAxis2 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float3 GetNormalAxis2() => Jolt.PInvoke.HingeConstraintSettings_GetNormalAxis2(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L43">Jolt/Physics/Constraints/HingeConstraint.h:43</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mNormalAxis2 = Vec3::sAxisX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetNormalAxis2(float3 value) => Jolt.PInvoke.HingeConstraintSettings_SetNormalAxis2(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Rotation around the hinge axis will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin e [-pi,
|
|
/// 0] and mLimitsMax e [0, pi]. Both angles are in radians.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L47">Jolt/Physics/Constraints/HingeConstraint.h:47</see>
|
|
/// <br/>
|
|
/// <c>float mLimitsMin = -JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float GetLimitsMin() => Jolt.PInvoke.HingeConstraintSettings_GetLimitsMin(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Rotation around the hinge axis will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin e [-pi,
|
|
/// 0] and mLimitsMax e [0, pi]. Both angles are in radians.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L47">Jolt/Physics/Constraints/HingeConstraint.h:47</see>
|
|
/// <br/>
|
|
/// <c>float mLimitsMin = -JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetLimitsMin(float value) => Jolt.PInvoke.HingeConstraintSettings_SetLimitsMin(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L48">Jolt/Physics/Constraints/HingeConstraint.h:48</see>
|
|
/// <br/>
|
|
/// <c>float mLimitsMax = JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float GetLimitsMax() => Jolt.PInvoke.HingeConstraintSettings_GetLimitsMax(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L48">Jolt/Physics/Constraints/HingeConstraint.h:48</see>
|
|
/// <br/>
|
|
/// <c>float mLimitsMax = JPH_PI</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetLimitsMax(float value) => Jolt.PInvoke.HingeConstraintSettings_SetLimitsMax(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// When enabled, this makes the limits soft. When the constraint exceeds the limits, a spring force will
|
|
/// pull it back.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L51">Jolt/Physics/Constraints/HingeConstraint.h:51</see>
|
|
/// <br/>
|
|
/// <c>SpringSettings mLimitsSpringSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is an owned copy; Dispose it when you're done with it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public SpringSettings GetLimitsSpringSettings() =>
|
|
Jolt.PInvoke.HingeConstraintSettings_GetLimitsSpringSettings(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// When enabled, this makes the limits soft. When the constraint exceeds the limits, a spring force will
|
|
/// pull it back.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L51">Jolt/Physics/Constraints/HingeConstraint.h:51</see>
|
|
/// <br/>
|
|
/// <c>SpringSettings mLimitsSpringSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The value is copied into the field; the handle you pass stays yours to Dispose.
|
|
/// </para>
|
|
/// </remarks>
|
|
public void SetLimitsSpringSettings(SpringSettings value) =>
|
|
Jolt.PInvoke.HingeConstraintSettings_SetLimitsSpringSettings(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum amount of torque (N m) to apply as friction when the constraint is not powered by a motor
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L54">Jolt/Physics/Constraints/HingeConstraint.h:54</see>
|
|
/// <br/>
|
|
/// <c>float mMaxFrictionTorque = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public float GetMaxFrictionTorque() => Jolt.PInvoke.HingeConstraintSettings_GetMaxFrictionTorque(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum amount of torque (N m) to apply as friction when the constraint is not powered by a motor
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L54">Jolt/Physics/Constraints/HingeConstraint.h:54</see>
|
|
/// <br/>
|
|
/// <c>float mMaxFrictionTorque = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void SetMaxFrictionTorque(float value) =>
|
|
Jolt.PInvoke.HingeConstraintSettings_SetMaxFrictionTorque(this, value);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// In case the constraint is powered, this determines the motor settings around the hinge axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L57">Jolt/Physics/Constraints/HingeConstraint.h:57</see>
|
|
/// <br/>
|
|
/// <c>MotorSettings mMotorSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is an owned copy; Dispose it when you're done with it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public MotorSettings GetMotorSettings() => Jolt.PInvoke.HingeConstraintSettings_GetMotorSettings(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// In case the constraint is powered, this determines the motor settings around the hinge axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/HingeConstraint.h#L57">Jolt/Physics/Constraints/HingeConstraint.h:57</see>
|
|
/// <br/>
|
|
/// <c>MotorSettings mMotorSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The value is copied into the field; the handle you pass stays yours to Dispose.
|
|
/// </para>
|
|
/// </remarks>
|
|
public void SetMotorSettings(MotorSettings value) =>
|
|
Jolt.PInvoke.HingeConstraintSettings_SetMotorSettings(this, value);
|
|
|
|
public void AddRef() => ((ConstraintSettings)this).AddRef();
|
|
|
|
public void Release() => ((ConstraintSettings)this).Release();
|
|
|
|
public uint GetRefCount() => ((ConstraintSettings)this).GetRefCount();
|
|
|
|
public static implicit operator TwoBodyConstraintSettings(HingeConstraintSettings value) =>
|
|
Unsafe.BitCast<HingeConstraintSettings, TwoBodyConstraintSettings>(value);
|
|
|
|
public static implicit operator ConstraintSettings(HingeConstraintSettings value) =>
|
|
Unsafe.BitCast<HingeConstraintSettings, ConstraintSettings>(value);
|
|
|
|
public void Dispose()
|
|
{
|
|
if (IsNull())
|
|
return;
|
|
Release();
|
|
}
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetEnabled()"/>
|
|
public bool GetEnabled() => ((ConstraintSettings)this).GetEnabled();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetEnabled(bool)"/>
|
|
public void SetEnabled(bool value) => ((ConstraintSettings)this).SetEnabled(value);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetConstraintPriority()"/>
|
|
public uint GetConstraintPriority() => ((ConstraintSettings)this).GetConstraintPriority();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetConstraintPriority(uint)"/>
|
|
public void SetConstraintPriority(uint value) => ((ConstraintSettings)this).SetConstraintPriority(value);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetNumVelocityStepsOverride()"/>
|
|
public uint GetNumVelocityStepsOverride() => ((ConstraintSettings)this).GetNumVelocityStepsOverride();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetNumVelocityStepsOverride(uint)"/>
|
|
public void SetNumVelocityStepsOverride(uint value) =>
|
|
((ConstraintSettings)this).SetNumVelocityStepsOverride(value);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetNumPositionStepsOverride()"/>
|
|
public uint GetNumPositionStepsOverride() => ((ConstraintSettings)this).GetNumPositionStepsOverride();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetNumPositionStepsOverride(uint)"/>
|
|
public void SetNumPositionStepsOverride(uint value) =>
|
|
((ConstraintSettings)this).SetNumPositionStepsOverride(value);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetDrawConstraintSize()"/>
|
|
public float GetDrawConstraintSize() => ((ConstraintSettings)this).GetDrawConstraintSize();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetDrawConstraintSize(float)"/>
|
|
public void SetDrawConstraintSize(float value) => ((ConstraintSettings)this).SetDrawConstraintSize(value);
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.GetUserData()"/>
|
|
public ulong GetUserData() => ((ConstraintSettings)this).GetUserData();
|
|
|
|
/// <inheritdoc cref="ConstraintSettings.SetUserData(ulong)"/>
|
|
public void SetUserData(ulong value) => ((ConstraintSettings)this).SetUserData(value);
|
|
}
|
|
}
|