mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
80
Brutal.Jolt/Generated/Classes/CalculateSolverSteps.gen.cs
Normal file
80
Brutal.Jolt/Generated/Classes/CalculateSolverSteps.gen.cs
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/CalculateSolverSteps.h#L13">Jolt/Physics/Constraints/CalculateSolverSteps.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>class CalculateSolverSteps</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// @cond INTERNAL
|
||||
/// Internal class used to calculate the total number of velocity and position steps
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CalculateSolverSteps : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/CalculateSolverSteps.h#L17">Jolt/Physics/Constraints/CalculateSolverSteps.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>explicit CalculateSolverSteps(const PhysicsSettings &inSettings)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static CalculateSolverSteps Create(in PhysicsSettings settings) =>
|
||||
Jolt.PInvoke.CalculateSolverSteps_Create(in settings);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Must be called after all bodies/constraints have been processed
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/CalculateSolverSteps.h#L33">Jolt/Physics/Constraints/CalculateSolverSteps.h:33</see>
|
||||
/// <br/>
|
||||
/// <c>void Finalize()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void Complete() => Jolt.PInvoke.CalculateSolverSteps_Complete(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get the results of the calculation
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/CalculateSolverSteps.h#L43">Jolt/Physics/Constraints/CalculateSolverSteps.h:43</see>
|
||||
/// <br/>
|
||||
/// <c>uint GetNumPositionSteps() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetNumPositionSteps() => Jolt.PInvoke.CalculateSolverSteps_GetNumPositionSteps(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/CalculateSolverSteps.h#L44">Jolt/Physics/Constraints/CalculateSolverSteps.h:44</see>
|
||||
/// <br/>
|
||||
/// <c>uint GetNumVelocitySteps() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetNumVelocitySteps() => Jolt.PInvoke.CalculateSolverSteps_GetNumVelocitySteps(this);
|
||||
|
||||
public void Dispose() => Jolt.PInvoke.CalculateSolverSteps_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue