//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
///
///
/// Enum used in BodyCreationSettings and MotionProperties to indicate which degrees of freedom a body has
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:10
///
/// enum class EAllowedDOFs : uint8
///
///
public enum AllowedDOFs : byte
{
///
///
/// No degrees of freedom are allowed. Note that this is not valid and will crash. Use a static body
/// instead.
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:12
///
/// None = 0b000000
///
///
None = 0,
///
///
/// All degrees of freedom are allowed
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:13
///
/// All = 0b111111
///
///
All = 63,
///
///
/// Body can move in world space X axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:14
///
/// TranslationX = 0b000001
///
///
TranslationX = 1,
///
///
/// Body can move in world space Y axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:15
///
/// TranslationY = 0b000010
///
///
TranslationY = 2,
///
///
/// Body can move in world space Z axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:16
///
/// TranslationZ = 0b000100
///
///
TranslationZ = 4,
///
///
/// Body can rotate around world space X axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:17
///
/// RotationX = 0b001000
///
///
RotationX = 8,
///
///
/// Body can rotate around world space Y axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:18
///
/// RotationY = 0b010000
///
///
RotationY = 16,
///
///
/// Body can rotate around world space Z axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:19
///
/// RotationZ = 0b100000
///
///
RotationZ = 32,
///
///
/// Body can only move in X and Y axis and rotate around Z axis
///
///
/// C++:
/// Jolt/Physics/Body/AllowedDOFs.h:20
///
/// Plane2D = TranslationX | TranslationY | RotationZ
///
///
Plane2D = 35,
}
}