mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
60 lines
2.4 KiB
C#
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>
|
|
/// Enum used in BodyCreationSettings to indicate how mass and inertia should be calculated
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyCreationSettings.h#L22">Jolt/Physics/Body/BodyCreationSettings.h:22</see>
|
|
/// <br/>
|
|
/// <c>enum class EOverrideMassProperties : uint8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public enum OverrideMassProperties : 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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyCreationSettings.h#L26">Jolt/Physics/Body/BodyCreationSettings.h:26</see>
|
|
/// <br/>
|
|
/// <c>MassAndInertiaProvided</c>
|
|
/// </para>
|
|
/// </summary>
|
|
MassAndInertiaProvided,
|
|
}
|
|
}
|