mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
60 lines
2.3 KiB
C#
60 lines
2.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Enum used by constraints to specify how the spring is defined
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/SpringSettings.h#L15">Jolt/Physics/Constraints/SpringSettings.h:15</see>
|
|
/// <br/>
|
|
/// <c>enum class ESpringMode : uint8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public enum SpringMode : byte
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Frequency and damping are specified.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/SpringSettings.h#L17">Jolt/Physics/Constraints/SpringSettings.h:17</see>
|
|
/// <br/>
|
|
/// <c>FrequencyAndDamping</c>
|
|
/// </para>
|
|
/// </summary>
|
|
FrequencyAndDamping,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stiffness and damping are specified.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/SpringSettings.h#L18">Jolt/Physics/Constraints/SpringSettings.h:18</see>
|
|
/// <br/>
|
|
/// <c>StiffnessAndDamping</c>
|
|
/// </para>
|
|
/// </summary>
|
|
StiffnessAndDamping,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stiffness and damping divided by mass / inertia are specified (also known as acceleration mode). This
|
|
/// makes it easier to tune the spring and makes it mass independent.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/SpringSettings.h#L19">Jolt/Physics/Constraints/SpringSettings.h:19</see>
|
|
/// <br/>
|
|
/// <c>MassNormalizedStiffnessAndDamping</c>
|
|
/// </para>
|
|
/// </summary>
|
|
MassNormalizedStiffnessAndDamping,
|
|
}
|
|
}
|