mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
138 lines
5 KiB
C#
138 lines
5 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 and MotionProperties to indicate which degrees of freedom a body has
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L10">Jolt/Physics/Body/AllowedDOFs.h:10</see>
|
|
/// <br/>
|
|
/// <c>enum class EAllowedDOFs : uint8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public enum AllowedDOFs : byte
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// No degrees of freedom are allowed. Note that this is not valid and will crash. Use a static body
|
|
/// instead.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L12">Jolt/Physics/Body/AllowedDOFs.h:12</see>
|
|
/// <br/>
|
|
/// <c>None = 0b000000</c>
|
|
/// </para>
|
|
/// </summary>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// All degrees of freedom are allowed
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L13">Jolt/Physics/Body/AllowedDOFs.h:13</see>
|
|
/// <br/>
|
|
/// <c>All = 0b111111</c>
|
|
/// </para>
|
|
/// </summary>
|
|
All = 63,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can move in world space X axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L14">Jolt/Physics/Body/AllowedDOFs.h:14</see>
|
|
/// <br/>
|
|
/// <c>TranslationX = 0b000001</c>
|
|
/// </para>
|
|
/// </summary>
|
|
TranslationX = 1,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can move in world space Y axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L15">Jolt/Physics/Body/AllowedDOFs.h:15</see>
|
|
/// <br/>
|
|
/// <c>TranslationY = 0b000010</c>
|
|
/// </para>
|
|
/// </summary>
|
|
TranslationY = 2,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can move in world space Z axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L16">Jolt/Physics/Body/AllowedDOFs.h:16</see>
|
|
/// <br/>
|
|
/// <c>TranslationZ = 0b000100</c>
|
|
/// </para>
|
|
/// </summary>
|
|
TranslationZ = 4,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can rotate around world space X axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L17">Jolt/Physics/Body/AllowedDOFs.h:17</see>
|
|
/// <br/>
|
|
/// <c>RotationX = 0b001000</c>
|
|
/// </para>
|
|
/// </summary>
|
|
RotationX = 8,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can rotate around world space Y axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L18">Jolt/Physics/Body/AllowedDOFs.h:18</see>
|
|
/// <br/>
|
|
/// <c>RotationY = 0b010000</c>
|
|
/// </para>
|
|
/// </summary>
|
|
RotationY = 16,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can rotate around world space Z axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L19">Jolt/Physics/Body/AllowedDOFs.h:19</see>
|
|
/// <br/>
|
|
/// <c>RotationZ = 0b100000</c>
|
|
/// </para>
|
|
/// </summary>
|
|
RotationZ = 32,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Body can only move in X and Y axis and rotate around Z axis
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/AllowedDOFs.h#L20">Jolt/Physics/Body/AllowedDOFs.h:20</see>
|
|
/// <br/>
|
|
/// <c>Plane2D = TranslationX | TranslationY | RotationZ</c>
|
|
/// </para>
|
|
/// </summary>
|
|
Plane2D = 35,
|
|
}
|
|
}
|