// // 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/CalculateSolverSteps.h:13 ///
/// class CalculateSolverSteps ///
///
/// /// /// @cond INTERNAL /// Internal class used to calculate the total number of velocity and position steps /// /// [InteropHandle] public readonly partial struct CalculateSolverSteps : IDisposable { /// /// /// C++: /// Jolt/Physics/Constraints/CalculateSolverSteps.h:17 ///
/// explicit CalculateSolverSteps(const PhysicsSettings &inSettings) ///
///
/// /// /// Constructor /// /// public static CalculateSolverSteps Create(ref PhysicsSettings settings) => Jolt.PInvoke.CalculateSolverSteps_Create(ref settings); /// /// /// C++: /// Jolt/Physics/Constraints/CalculateSolverSteps.h:33 ///
/// void Finalize() ///
///
/// /// /// Must be called after all bodies/constraints have been processed /// /// public void Complete() => Jolt.PInvoke.CalculateSolverSteps_Complete(this); /// /// /// C++: /// Jolt/Physics/Constraints/CalculateSolverSteps.h:43 ///
/// uint GetNumPositionSteps() const ///
///
/// /// /// Get the results of the calculation /// /// public uint GetNumPositionSteps() => Jolt.PInvoke.CalculateSolverSteps_GetNumPositionSteps(this); /// /// /// C++: /// Jolt/Physics/Constraints/CalculateSolverSteps.h:44 ///
/// uint GetNumVelocitySteps() const ///
///
public uint GetNumVelocitySteps() => Jolt.PInvoke.CalculateSolverSteps_GetNumVelocitySteps(this); public void Dispose() => Jolt.PInvoke.CalculateSolverSteps_Destroy(this); } }