// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:27 ///
/// class ConstraintManager : public NonCopyable ///
///
/// /// /// A constraint manager manages all constraints of the same type /// /// WARNING: This class is an internal part of PhysicsSystem, it has no functions that can be called by users of the library. /// Its functionality is exposed through PhysicsSystem and BodyInterface. /// /// [InteropHandle] public readonly partial struct ConstraintManager { /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:47 ///
/// inline uint32 GetNumConstraints() const ///
///
/// /// /// Get total number of constraints /// /// public uint GetNumConstraints() => Jolt.PInvoke.ConstraintManager_GetNumConstraints(this); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:73 ///
/// void DrawConstraints(DebugRenderer *inRenderer) const ///
///
/// /// /// Draw all constraints /// /// public void DrawConstraints(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraints(this, renderer); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:76 ///
/// void DrawConstraintLimits(DebugRenderer *inRenderer) const ///
///
/// /// /// Draw all constraint limits /// /// public void DrawConstraintLimits(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraintLimits(this, renderer); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:79 ///
/// void DrawConstraintReferenceFrame(DebugRenderer *inRenderer) const ///
///
/// /// /// Draw all constraint reference frames /// /// public void DrawConstraintReferenceFrame(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraintReferenceFrame(this, renderer); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:89 ///
/// void LockAllConstraints() ///
///
/// /// /// Lock all constraints. This should only be done during PhysicsSystem::Update(). /// /// public void LockAllConstraints() => Jolt.PInvoke.ConstraintManager_LockAllConstraints(this); /// /// /// C++: /// Jolt/Physics/Constraints/ConstraintManager.h:90 ///
/// void UnlockAllConstraints() ///
///
public void UnlockAllConstraints() => Jolt.PInvoke.ConstraintManager_UnlockAllConstraints(this); } }