brutal/brutal.jolt/Brutal.Jolt/Generated/Enums/EOverrideMassProperties.gen.cs
2026-10-15 14:12:02 +13:00

60 lines
2.4 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyCreationSettings.h#L22">Jolt/Physics/Body/BodyCreationSettings.h:22</see>
/// <br/>
/// <c>enum class EOverrideMassProperties : uint8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Enum used in BodyCreationSettings to indicate how mass and inertia should be calculated
/// </para>
/// </remarks>
public enum EOverrideMassProperties : byte
{
/// <summary>
/// <para>
/// Tells the system to calculate the mass and inertia based on density
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyCreationSettings.h#L24">Jolt/Physics/Body/BodyCreationSettings.h:24</see>
/// <br/>
/// <c>CalculateMassAndInertia</c>
/// </para>
/// </summary>
CalculateMassAndInertia,
/// <summary>
/// <para>
/// Tells the system to take the mass from mMassPropertiesOverride and to calculate the inertia based on
/// density of the shapes and to scale it to the provided mass
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyCreationSettings.h#L25">Jolt/Physics/Body/BodyCreationSettings.h:25</see>
/// <br/>
/// <c>CalculateInertia</c>
/// </para>
/// </summary>
CalculateInertia,
/// <summary>
/// <para>
/// Tells the system to take the mass and inertia from mMassPropertiesOverride
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyCreationSettings.h#L26">Jolt/Physics/Body/BodyCreationSettings.h:26</see>
/// <br/>
/// <c>MassAndInertiaProvided</c>
/// </para>
/// </summary>
MassAndInertiaProvided,
}
}