mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
108 lines
4.8 KiB
C#
108 lines
4.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L27">Jolt/Physics/Constraints/ConstraintManager.h:27</see>
|
|
/// <br/>
|
|
/// <c>class ConstraintManager : public NonCopyable</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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.
|
|
/// </code>
|
|
/// </remarks>
|
|
[InteropHandle]
|
|
public readonly partial struct ConstraintManager
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L47">Jolt/Physics/Constraints/ConstraintManager.h:47</see>
|
|
/// <br/>
|
|
/// <c>inline uint32 GetNumConstraints() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get total number of constraints
|
|
/// </para>
|
|
/// </remarks>
|
|
public uint GetNumConstraints() => Jolt.PInvoke.ConstraintManager_GetNumConstraints(this);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L73">Jolt/Physics/Constraints/ConstraintManager.h:73</see>
|
|
/// <br/>
|
|
/// <c>void DrawConstraints(DebugRenderer *inRenderer) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Draw all constraints
|
|
/// </para>
|
|
/// </remarks>
|
|
public void DrawConstraints(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraints(this, renderer);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L76">Jolt/Physics/Constraints/ConstraintManager.h:76</see>
|
|
/// <br/>
|
|
/// <c>void DrawConstraintLimits(DebugRenderer *inRenderer) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Draw all constraint limits
|
|
/// </para>
|
|
/// </remarks>
|
|
public void DrawConstraintLimits(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraintLimits(this, renderer);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L79">Jolt/Physics/Constraints/ConstraintManager.h:79</see>
|
|
/// <br/>
|
|
/// <c>void DrawConstraintReferenceFrame(DebugRenderer *inRenderer) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Draw all constraint reference frames
|
|
/// </para>
|
|
/// </remarks>
|
|
public void DrawConstraintReferenceFrame(DebugRenderer renderer) => Jolt.PInvoke.ConstraintManager_DrawConstraintReferenceFrame(this, renderer);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L89">Jolt/Physics/Constraints/ConstraintManager.h:89</see>
|
|
/// <br/>
|
|
/// <c>void LockAllConstraints()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Lock all constraints. This should only be done during PhysicsSystem::Update().
|
|
/// </para>
|
|
/// </remarks>
|
|
public void LockAllConstraints() => Jolt.PInvoke.ConstraintManager_LockAllConstraints(this);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/ConstraintManager.h#L90">Jolt/Physics/Constraints/ConstraintManager.h:90</see>
|
|
/// <br/>
|
|
/// <c>void UnlockAllConstraints()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void UnlockAllConstraints() => Jolt.PInvoke.ConstraintManager_UnlockAllConstraints(this);
|
|
}
|
|
}
|