//
// 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 = "PulleyConstraintSettings_Create")]
public static partial PulleyConstraintSettings PulleyConstraintSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:20
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetRTTI")]
public static partial RTTI PulleyConstraintSettings_GetRTTI(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:20
///
///
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_CastTo")]
public static partial void* PulleyConstraintSettings_CastTo(PulleyConstraintSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:24
///
/// virtual void SaveBinaryState(StreamOut &inStream) const override
///
///
///
///
/// See: ConstraintSettings::SaveBinaryState
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SaveBinaryState")]
public static partial void PulleyConstraintSettings_SaveBinaryState(PulleyConstraintSettings self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:27
///
/// virtual TwoBodyConstraint * Create(Body &inBody1, Body &inBody2) const override
///
///
///
///
/// Create an instance of this constraint
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_Create_2")]
public static partial TwoBodyConstraint PulleyConstraintSettings_Create_2(PulleyConstraintSettings self, Body body1, Body body2);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:30
///
/// EConstraintSpace mSpace = EConstraintSpace::WorldSpace
///
///
///
///
/// This determines in which space the constraint is setup, specified properties below should be in the
/// specified space
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetSpace")]
public static partial EConstraintSpace PulleyConstraintSettings_GetSpace(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:30
///
/// EConstraintSpace mSpace = EConstraintSpace::WorldSpace
///
///
///
///
/// This determines in which space the constraint is setup, specified properties below should be in the
/// specified space
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetSpace")]
public static partial void PulleyConstraintSettings_SetSpace(PulleyConstraintSettings self, EConstraintSpace value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:33
///
/// RVec3 mBodyPoint1 = RVec3::sZero()
///
///
///
///
/// Body 1 constraint attachment point (space determined by mSpace).
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetBodyPoint1")]
public static partial float3 PulleyConstraintSettings_GetBodyPoint1(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:33
///
/// RVec3 mBodyPoint1 = RVec3::sZero()
///
///
///
///
/// Body 1 constraint attachment point (space determined by mSpace).
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetBodyPoint1")]
public static partial void PulleyConstraintSettings_SetBodyPoint1(PulleyConstraintSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:36
///
/// RVec3 mFixedPoint1 = RVec3::sZero()
///
///
///
///
/// Fixed world point to which body 1 is connected (always world space)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetFixedPoint1")]
public static partial float3 PulleyConstraintSettings_GetFixedPoint1(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:36
///
/// RVec3 mFixedPoint1 = RVec3::sZero()
///
///
///
///
/// Fixed world point to which body 1 is connected (always world space)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetFixedPoint1")]
public static partial void PulleyConstraintSettings_SetFixedPoint1(PulleyConstraintSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:39
///
/// RVec3 mBodyPoint2 = RVec3::sZero()
///
///
///
///
/// Body 2 constraint attachment point (space determined by mSpace)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetBodyPoint2")]
public static partial float3 PulleyConstraintSettings_GetBodyPoint2(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:39
///
/// RVec3 mBodyPoint2 = RVec3::sZero()
///
///
///
///
/// Body 2 constraint attachment point (space determined by mSpace)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetBodyPoint2")]
public static partial void PulleyConstraintSettings_SetBodyPoint2(PulleyConstraintSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:42
///
/// RVec3 mFixedPoint2 = RVec3::sZero()
///
///
///
///
/// Fixed world point to which body 2 is connected (always world space)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetFixedPoint2")]
public static partial float3 PulleyConstraintSettings_GetFixedPoint2(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:42
///
/// RVec3 mFixedPoint2 = RVec3::sZero()
///
///
///
///
/// Fixed world point to which body 2 is connected (always world space)
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetFixedPoint2")]
public static partial void PulleyConstraintSettings_SetFixedPoint2(PulleyConstraintSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:45
///
/// float mRatio = 1.0f
///
///
///
///
/// Ratio between the two line segments (see formula above), can be used to create a block and tackle
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetRatio")]
public static partial float PulleyConstraintSettings_GetRatio(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:45
///
/// float mRatio = 1.0f
///
///
///
///
/// Ratio between the two line segments (see formula above), can be used to create a block and tackle
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetRatio")]
public static partial void PulleyConstraintSettings_SetRatio(PulleyConstraintSettings self, float value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:48
///
/// float mMinLength = 0.0f
///
///
///
///
/// The minimum length of the line segments (see formula above), use -1 to calculate the length based on
/// the positions of the objects when the constraint is created.
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetMinLength")]
public static partial float PulleyConstraintSettings_GetMinLength(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:48
///
/// float mMinLength = 0.0f
///
///
///
///
/// The minimum length of the line segments (see formula above), use -1 to calculate the length based on
/// the positions of the objects when the constraint is created.
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetMinLength")]
public static partial void PulleyConstraintSettings_SetMinLength(PulleyConstraintSettings self, float value);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:51
///
/// float mMaxLength = -1.0f
///
///
///
///
/// The maximum length of the line segments (see formula above), use -1 to calculate the length based on
/// the positions of the objects when the constraint is created.
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetMaxLength")]
public static partial float PulleyConstraintSettings_GetMaxLength(PulleyConstraintSettings self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PulleyConstraint.h:51
///
/// float mMaxLength = -1.0f
///
///
///
///
/// The maximum length of the line segments (see formula above), use -1 to calculate the length based on
/// the positions of the objects when the constraint is created.
///
///
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_SetMaxLength")]
public static partial void PulleyConstraintSettings_SetMaxLength(PulleyConstraintSettings self, float value);
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AddRef")]
public static partial void PulleyConstraintSettings_AddRef(PulleyConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_Release")]
public static partial void PulleyConstraintSettings_Release(PulleyConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_GetRefCount")]
public static partial uint PulleyConstraintSettings_GetRefCount(PulleyConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AsTwoBodyConstraintSettings")]
public static partial TwoBodyConstraintSettings PulleyConstraintSettings_AsTwoBodyConstraintSettings(PulleyConstraintSettings self);
[LibraryImport("jolt", EntryPoint = "PulleyConstraintSettings_AsConstraintSettings")]
public static partial ConstraintSettings PulleyConstraintSettings_AsConstraintSettings(PulleyConstraintSettings self);
}
}
}