//
// 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
{
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:85
///
/// PathConstraint(Body &inBody1, Body &inBody2, const PathConstraintSettings &inSettings)
///
///
///
///
/// Construct point constraint
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_Create")]
public static partial PathConstraint PathConstraint_Create(Body body1, Body body2, PathConstraintSettings settings);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:88
///
/// virtual EConstraintSubType GetSubType() const override
///
///
///
///
/// Generic interface of a constraint
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetSubType")]
public static partial EConstraintSubType PathConstraint_GetSubType(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:89
///
/// virtual void NotifyShapeChanged(const BodyID &inBodyID, Vec3Arg inDeltaCOM) override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_NotifyShapeChanged")]
public static partial void PathConstraint_NotifyShapeChanged(PathConstraint self, uint bodyID, float3 deltaCOM);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:90
///
/// virtual void SetupVelocityConstraint(float inDeltaTime) override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetupVelocityConstraint")]
public static partial void PathConstraint_SetupVelocityConstraint(PathConstraint self, float deltaTime);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:91
///
/// virtual void ResetWarmStart() override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_ResetWarmStart")]
public static partial void PathConstraint_ResetWarmStart(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:92
///
/// virtual void WarmStartVelocityConstraint(float inWarmStartImpulseRatio) override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_WarmStartVelocityConstraint")]
public static partial void PathConstraint_WarmStartVelocityConstraint(PathConstraint self, float warmStartImpulseRatio);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:93
///
/// virtual bool SolveVelocityConstraint(float inDeltaTime) override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SolveVelocityConstraint")]
public static partial Brutal.Bool8 PathConstraint_SolveVelocityConstraint(PathConstraint self, float deltaTime);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:94
///
/// virtual bool SolvePositionConstraint(float inDeltaTime, float inBaumgarte) override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SolvePositionConstraint")]
public static partial Brutal.Bool8 PathConstraint_SolvePositionConstraint(PathConstraint self, float deltaTime, float baumgarte);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:96
///
/// virtual void DrawConstraint(DebugRenderer *inRenderer) const override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_DrawConstraint")]
public static partial void PathConstraint_DrawConstraint(PathConstraint self, DebugRenderer renderer);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:100
///
/// virtual bool IsActive() const override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_IsActive")]
public static partial Brutal.Bool8 PathConstraint_IsActive(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:101
///
/// virtual Ref<ConstraintSettings> GetConstraintSettings() const override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetConstraintSettings")]
public static partial ConstraintSettings PathConstraint_GetConstraintSettings(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:104
///
/// virtual Mat44 GetConstraintToBody1Matrix() const override
///
///
///
///
/// See: TwoBodyConstraint
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetConstraintToBody1Matrix")]
public static partial float4x4 PathConstraint_GetConstraintToBody1Matrix(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:105
///
/// virtual Mat44 GetConstraintToBody2Matrix() const override
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetConstraintToBody2Matrix")]
public static partial float4x4 PathConstraint_GetConstraintToBody2Matrix(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:108
///
/// void SetPath(const PathConstraintPath *inPath, float inPathFraction)
///
///
///
///
/// Update the path for this constraint
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetPath")]
public static partial void PathConstraint_SetPath(PathConstraint self, PathConstraintPath path, float pathFraction);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:111
///
/// const PathConstraintPath * GetPath() const
///
///
///
///
/// Access to the current path
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetPath")]
public static partial PathConstraintPath PathConstraint_GetPath(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:114
///
/// float GetPathFraction() const
///
///
///
///
/// Access to the current fraction along the path e [0, GetPath()->GetMaxPathFraction()]
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetPathFraction")]
public static partial float PathConstraint_GetPathFraction(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:117
///
/// void SetMaxFrictionForce(float inFrictionForce)
///
///
///
///
/// Friction control
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetMaxFrictionForce")]
public static partial void PathConstraint_SetMaxFrictionForce(PathConstraint self, float frictionForce);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:118
///
/// float GetMaxFrictionForce() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetMaxFrictionForce")]
public static partial float PathConstraint_GetMaxFrictionForce(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:121
///
/// MotorSettings & GetPositionMotorSettings()
///
///
///
///
/// Position motor settings
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetPositionMotorSettings")]
public static partial MotorSettings PathConstraint_GetPositionMotorSettings(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:125
///
/// void SetPositionMotorState(EMotorState inState)
///
///
///
///
/// Position motor controls (drives body 2 along the path)
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetPositionMotorState")]
public static partial void PathConstraint_SetPositionMotorState(PathConstraint self, EMotorState state);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:126
///
/// EMotorState GetPositionMotorState() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetPositionMotorState")]
public static partial EMotorState PathConstraint_GetPositionMotorState(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:127
///
/// void SetTargetVelocity(float inVelocity)
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetTargetVelocity")]
public static partial void PathConstraint_SetTargetVelocity(PathConstraint self, float velocity);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:128
///
/// float GetTargetVelocity() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetTargetVelocity")]
public static partial float PathConstraint_GetTargetVelocity(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:129
///
/// void SetTargetPathFraction(float inFraction)
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_SetTargetPathFraction")]
public static partial void PathConstraint_SetTargetPathFraction(PathConstraint self, float fraction);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:130
///
/// float GetTargetPathFraction() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetTargetPathFraction")]
public static partial float PathConstraint_GetTargetPathFraction(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:134
///
/// inline float GetTotalLambdaPositionLimits() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetTotalLambdaPositionLimits")]
public static partial float PathConstraint_GetTotalLambdaPositionLimits(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:135
///
/// inline float GetTotalLambdaMotor() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetTotalLambdaMotor")]
public static partial float PathConstraint_GetTotalLambdaMotor(PathConstraint self);
///
///
/// C++:
/// Jolt/Physics/Constraints/PathConstraint.h:137
///
/// inline Vec3 GetTotalLambdaRotation() const
///
///
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetTotalLambdaRotation")]
public static partial float3 PathConstraint_GetTotalLambdaRotation(PathConstraint self);
[LibraryImport("jolt", EntryPoint = "PathConstraint_AddRef")]
public static partial void PathConstraint_AddRef(PathConstraint self);
[LibraryImport("jolt", EntryPoint = "PathConstraint_Release")]
public static partial void PathConstraint_Release(PathConstraint self);
[LibraryImport("jolt", EntryPoint = "PathConstraint_GetRefCount")]
public static partial uint PathConstraint_GetRefCount(PathConstraint self);
[LibraryImport("jolt", EntryPoint = "PathConstraint_AsTwoBodyConstraint")]
public static partial TwoBodyConstraint PathConstraint_AsTwoBodyConstraint(PathConstraint self);
[LibraryImport("jolt", EntryPoint = "PathConstraint_AsConstraint")]
public static partial Constraint PathConstraint_AsConstraint(PathConstraint self);
}
}
}