mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
27 changed files with 784842 additions and 0 deletions
46
Brutal.Jolt/Generated/Enums/Activation.gen.cs
Normal file
46
Brutal.Jolt/Generated/Enums/Activation.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enum used by AddBody to determine if the body needs to be initially active
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EActivation.h#L10">Jolt/Physics/EActivation.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EActivation</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum Activation : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Activate the body, making it part of the simulation
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EActivation.h#L12">Jolt/Physics/EActivation.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>Activate</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Activate,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Leave activation state as it is (will not deactivate an active body)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EActivation.h#L13">Jolt/Physics/EActivation.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>DontActivate</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
DontActivate,
|
||||
}
|
||||
}
|
||||
47
Brutal.Jolt/Generated/Enums/ActiveEdgeMode.gen.cs
Normal file
47
Brutal.Jolt/Generated/Enums/ActiveEdgeMode.gen.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// How to treat active/inactive edges. An active edge is an edge that either has no neighbouring edge or if the
|
||||
/// angle between the two connecting faces is too large, see: ActiveEdges
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/ActiveEdgeMode.h#L11">Jolt/Physics/Collision/ActiveEdgeMode.h:11</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EActiveEdgeMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ActiveEdgeMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Do not collide with inactive edges. For physics simulation, this gives less ghost collisions.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/ActiveEdgeMode.h#L13">Jolt/Physics/Collision/ActiveEdgeMode.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>CollideOnlyWithActive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollideOnlyWithActive,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Collide with all edges. Use this when you're interested in all collisions.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/ActiveEdgeMode.h#L14">Jolt/Physics/Collision/ActiveEdgeMode.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>CollideWithAll</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollideWithAll,
|
||||
}
|
||||
}
|
||||
138
Brutal.Jolt/Generated/Enums/AllowedDOFs.gen.cs
Normal file
138
Brutal.Jolt/Generated/Enums/AllowedDOFs.gen.cs
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
// <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,
|
||||
}
|
||||
}
|
||||
46
Brutal.Jolt/Generated/Enums/BackFaceMode.gen.cs
Normal file
46
Brutal.Jolt/Generated/Enums/BackFaceMode.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// How collision detection functions will treat back facing triangles
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BackFaceMode.h#L10">Jolt/Physics/Collision/BackFaceMode.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EBackFaceMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum BackFaceMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Ignore collision with back facing surfaces/triangles
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BackFaceMode.h#L12">Jolt/Physics/Collision/BackFaceMode.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>IgnoreBackFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
IgnoreBackFaces,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Collide with back facing surfaces/triangles
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BackFaceMode.h#L13">Jolt/Physics/Collision/BackFaceMode.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>CollideWithBackFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollideWithBackFaces,
|
||||
}
|
||||
}
|
||||
46
Brutal.Jolt/Generated/Enums/BodyType.gen.cs
Normal file
46
Brutal.Jolt/Generated/Enums/BodyType.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Type of body
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyType.h#L10">Jolt/Physics/Body/BodyType.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EBodyType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum BodyType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Rigid body consisting of a rigid shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyType.h#L12">Jolt/Physics/Body/BodyType.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>RigidBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RigidBody,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Soft body consisting of a deformable shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyType.h#L13">Jolt/Physics/Body/BodyType.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
}
|
||||
}
|
||||
46
Brutal.Jolt/Generated/Enums/CanSleep.gen.cs
Normal file
46
Brutal.Jolt/Generated/Enums/CanSleep.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enum that determines if an object can go to sleep
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionProperties.h#L21">Jolt/Physics/Body/MotionProperties.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ECanSleep</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum CanSleep : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Object cannot go to sleep
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionProperties.h#L23">Jolt/Physics/Body/MotionProperties.h:23</see>
|
||||
/// <br/>
|
||||
/// <c>CannotSleep = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CannotSleep = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Object can go to sleep
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionProperties.h#L24">Jolt/Physics/Body/MotionProperties.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>CanSleep = 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CanSleep = 1,
|
||||
}
|
||||
}
|
||||
46
Brutal.Jolt/Generated/Enums/CollectFacesMode.gen.cs
Normal file
46
Brutal.Jolt/Generated/Enums/CollectFacesMode.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Whether or not to collect faces, used by CastShape and CollideShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollectFacesMode.h#L10">Jolt/Physics/Collision/CollectFacesMode.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ECollectFacesMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum CollectFacesMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// mShape1/2Face is desired
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollectFacesMode.h#L12">Jolt/Physics/Collision/CollectFacesMode.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>CollectFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollectFaces,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// mShape1/2Face is not desired
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CollectFacesMode.h#L13">Jolt/Physics/Collision/CollectFacesMode.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>NoFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
NoFaces,
|
||||
}
|
||||
}
|
||||
49
Brutal.Jolt/Generated/Enums/ConstraintSpace.gen.cs
Normal file
49
Brutal.Jolt/Generated/Enums/ConstraintSpace.gen.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Certain constraints support setting them up in local or world space. This governs what is used.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L57">Jolt/Physics/Constraints/Constraint.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintSpace</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ConstraintSpace : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// All constraint properties are specified in local space to center of mass of the bodies that are being
|
||||
/// constrained (so e.g. 'constraint position 1' will be local to body 1 COM, 'constraint position 2' will
|
||||
/// be local to body 2 COM). Note that this means you need to subtract Shape::GetCenterOfMass() from
|
||||
/// positions!
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L59">Jolt/Physics/Constraints/Constraint.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>LocalToBodyCOM</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
LocalToBodyCOM,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// All constraint properties are specified in world space
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L60">Jolt/Physics/Constraints/Constraint.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>WorldSpace</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
WorldSpace,
|
||||
}
|
||||
}
|
||||
193
Brutal.Jolt/Generated/Enums/ConstraintSubType.gen.cs
Normal file
193
Brutal.Jolt/Generated/Enums/ConstraintSubType.gen.cs
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enum to identify constraint sub type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L33">Jolt/Physics/Constraints/Constraint.h:33</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintSubType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ConstraintSubType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L35">Jolt/Physics/Constraints/Constraint.h:35</see>
|
||||
/// <br/>
|
||||
/// <c>Fixed</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Fixed,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L36">Jolt/Physics/Constraints/Constraint.h:36</see>
|
||||
/// <br/>
|
||||
/// <c>Point</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Point,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L37">Jolt/Physics/Constraints/Constraint.h:37</see>
|
||||
/// <br/>
|
||||
/// <c>Hinge</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Hinge,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L38">Jolt/Physics/Constraints/Constraint.h:38</see>
|
||||
/// <br/>
|
||||
/// <c>Slider</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Slider,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L39">Jolt/Physics/Constraints/Constraint.h:39</see>
|
||||
/// <br/>
|
||||
/// <c>Distance</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Distance,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L40">Jolt/Physics/Constraints/Constraint.h:40</see>
|
||||
/// <br/>
|
||||
/// <c>Cone</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Cone,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L41">Jolt/Physics/Constraints/Constraint.h:41</see>
|
||||
/// <br/>
|
||||
/// <c>SwingTwist</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SwingTwist,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L42">Jolt/Physics/Constraints/Constraint.h:42</see>
|
||||
/// <br/>
|
||||
/// <c>SixDOF</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SixDOF,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L43">Jolt/Physics/Constraints/Constraint.h:43</see>
|
||||
/// <br/>
|
||||
/// <c>Path</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Path,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L44">Jolt/Physics/Constraints/Constraint.h:44</see>
|
||||
/// <br/>
|
||||
/// <c>Vehicle</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Vehicle,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L45">Jolt/Physics/Constraints/Constraint.h:45</see>
|
||||
/// <br/>
|
||||
/// <c>RackAndPinion</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RackAndPinion,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L46">Jolt/Physics/Constraints/Constraint.h:46</see>
|
||||
/// <br/>
|
||||
/// <c>Gear</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Gear,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L47">Jolt/Physics/Constraints/Constraint.h:47</see>
|
||||
/// <br/>
|
||||
/// <c>Pulley</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Pulley,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User defined constraint types start here
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L50">Jolt/Physics/Constraints/Constraint.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L51">Jolt/Physics/Constraints/Constraint.h:51</see>
|
||||
/// <br/>
|
||||
/// <c>User2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L52">Jolt/Physics/Constraints/Constraint.h:52</see>
|
||||
/// <br/>
|
||||
/// <c>User3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User3,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L53">Jolt/Physics/Constraints/Constraint.h:53</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
}
|
||||
}
|
||||
40
Brutal.Jolt/Generated/Enums/ConstraintType.gen.cs
Normal file
40
Brutal.Jolt/Generated/Enums/ConstraintType.gen.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enum to identify constraint type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L26">Jolt/Physics/Constraints/Constraint.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ConstraintType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L28">Jolt/Physics/Constraints/Constraint.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>Constraint</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Constraint,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/Constraint.h#L29">Jolt/Physics/Constraints/Constraint.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>TwoBodyConstraint</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TwoBodyConstraint,
|
||||
}
|
||||
}
|
||||
69
Brutal.Jolt/Generated/Enums/MotionQuality.gen.cs
Normal file
69
Brutal.Jolt/Generated/Enums/MotionQuality.gen.cs
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motion quality, or how well it detects collisions when it has a high velocity
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionQuality.h#L10">Jolt/Physics/Body/MotionQuality.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotionQuality : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum MotionQuality : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Update the body in discrete steps. Body will tunnel through thin objects if its velocity is high enough.
|
||||
/// This is the cheapest way of simulating a body.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionQuality.h#L14">Jolt/Physics/Body/MotionQuality.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>Discrete</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Discrete,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Update the body using linear casting. When stepping the body, its collision shape is cast from start to
|
||||
/// destination using the starting rotation. The body will not be able to tunnel through thin objects at
|
||||
/// high velocity, but tunneling is still possible if the body is long and thin and has high angular
|
||||
/// velocity. Time is stolen from the object (which means it will move up to the first collision and will
|
||||
/// not bounce off the surface until the next integration step). This will make the body appear to go slower
|
||||
/// when it collides with high velocity. In order to not get stuck, the body is always allowed to move by a
|
||||
/// fraction of it's inner radius, which may eventually lead it to pass through geometry.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionQuality.h#L28">Jolt/Physics/Body/MotionQuality.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>LinearCast</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Update the body using linear casting. When stepping the body, its collision shape is cast from
|
||||
/// start to destination using the starting rotation. The body will not be able to tunnel through thin
|
||||
/// objects at high velocity, but tunneling is still possible if the body is long and thin and has high
|
||||
/// angular velocity. Time is stolen from the object (which means it will move up to the first collision
|
||||
/// and will not bounce off the surface until the next integration step). This will make the body appear
|
||||
/// to go slower when it collides with high velocity. In order to not get stuck, the body is always
|
||||
/// allowed to move by a fraction of it's inner radius, which may eventually lead it to pass through geometry.
|
||||
///
|
||||
/// Note that if you're using a collision listener, you can receive contact added/persisted notifications of contacts
|
||||
/// that may in the end not happen. This happens between bodies that are using casting: If bodies A and B collide at t1
|
||||
/// and B and C collide at t2 where t2 < t1 and A and C don't collide. In this case you may receive an incorrect contact
|
||||
/// point added callback between A and B (which will be removed the next frame).
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
LinearCast,
|
||||
}
|
||||
}
|
||||
59
Brutal.Jolt/Generated/Enums/MotionType.gen.cs
Normal file
59
Brutal.Jolt/Generated/Enums/MotionType.gen.cs
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motion type of a physics body
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionType.h#L10">Jolt/Physics/Body/MotionType.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotionType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum MotionType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Non movable
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionType.h#L12">Jolt/Physics/Body/MotionType.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>Static</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Static,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Movable using velocities only, does not respond to forces
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionType.h#L13">Jolt/Physics/Body/MotionType.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>Kinematic</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Kinematic,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Responds to forces as a normal physics object
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/MotionType.h#L14">Jolt/Physics/Body/MotionType.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>Dynamic</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Dynamic,
|
||||
}
|
||||
}
|
||||
71
Brutal.Jolt/Generated/Enums/MotorState.gen.cs
Normal file
71
Brutal.Jolt/Generated/Enums/MotorState.gen.cs
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
// <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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L16">Jolt/Physics/Constraints/MotorSettings.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotorState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum MotorState : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motor is off
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L18">Jolt/Physics/Constraints/MotorSettings.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>Off</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Off,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motor will drive to target velocity limited only by max force/torque that the motor can apply
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L19">Jolt/Physics/Constraints/MotorSettings.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>Velocity</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Velocity,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motor will drive to target position using: force = stiffness * (target_position - current_position) -
|
||||
/// damping * current_velocity
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L20">Jolt/Physics/Constraints/MotorSettings.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>Position</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Position,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motor will drive both to target position and velocity using: force = stiffness * (target_position -
|
||||
/// current_position) + damping * (target_velocity - current_velocity)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/MotorSettings.h#L21">Jolt/Physics/Constraints/MotorSettings.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>PositionAndVelocity</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
PositionAndVelocity,
|
||||
}
|
||||
}
|
||||
18
Brutal.Jolt/Generated/Enums/ObjectStreamType.gen.cs
Normal file
18
Brutal.Jolt/Generated/Enums/ObjectStreamType.gen.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Which of the two object-stream formats to write: Text is human-readable and diffable, Binary is smaller.
|
||||
/// Reading needs no format: the stream's own header says which it is. Mirrors JPH::ObjectStream::EStreamType.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ObjectStreamType
|
||||
{
|
||||
Text,
|
||||
Binary,
|
||||
}
|
||||
}
|
||||
60
Brutal.Jolt/Generated/Enums/OverrideMassProperties.gen.cs
Normal file
60
Brutal.Jolt/Generated/Enums/OverrideMassProperties.gen.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// <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,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// How to constrain the rotation of the body to a PathConstraint
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L21">Jolt/Physics/Constraints/PathConstraint.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EPathRotationConstraintType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum PathRotationConstraintType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Do not constrain the rotation of the body at all
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L23">Jolt/Physics/Constraints/PathConstraint.h:23</see>
|
||||
/// <br/>
|
||||
/// <c>Free</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Free,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Only allow rotation around the tangent vector (following the path)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L24">Jolt/Physics/Constraints/PathConstraint.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>ConstrainAroundTangent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstrainAroundTangent,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Only allow rotation around the normal vector (perpendicular to the path)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L25">Jolt/Physics/Constraints/PathConstraint.h:25</see>
|
||||
/// <br/>
|
||||
/// <c>ConstrainAroundNormal</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstrainAroundNormal,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Only allow rotation around the binormal vector (perpendicular to the path)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L26">Jolt/Physics/Constraints/PathConstraint.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>ConstrainAroundBinormal</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstrainAroundBinormal,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Fully constrain the rotation of body 2 to the path (following the tangent and normal of the path)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L27">Jolt/Physics/Constraints/PathConstraint.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>ConstrainToPath</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstrainToPath,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Fully constrain the rotation of the body 2 to the rotation of body 1
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Constraints/PathConstraint.h#L28">Jolt/Physics/Constraints/PathConstraint.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>FullyConstrained</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
FullyConstrained,
|
||||
}
|
||||
}
|
||||
77
Brutal.Jolt/Generated/Enums/PhysicsUpdateError.gen.cs
Normal file
77
Brutal.Jolt/Generated/Enums/PhysicsUpdateError.gen.cs
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Enum used by PhysicsSystem to report error conditions during the PhysicsSystem::Update call. This is a bit
|
||||
/// field, multiple errors can trigger in the same update.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L10">Jolt/Physics/EPhysicsUpdateError.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EPhysicsUpdateError : uint32</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum PhysicsUpdateError : uint
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// No errors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L12">Jolt/Physics/EPhysicsUpdateError.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>None = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// The manifold cache is full, this means that the total number of contacts between bodies is too high.
|
||||
/// Some contacts were ignored. Increase inMaxContactConstraints in PhysicsSystem::Init.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L13">Jolt/Physics/EPhysicsUpdateError.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>ManifoldCacheFull = 1 << 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ManifoldCacheFull = 1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// The body pair cache is full, this means that too many bodies contacted. Some contacts were ignored.
|
||||
/// Increase inMaxBodyPairs in PhysicsSystem::Init.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L14">Jolt/Physics/EPhysicsUpdateError.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>BodyPairCacheFull = 1 << 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
BodyPairCacheFull = 2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// The contact constraints buffer is full. Some contacts were ignored. Increase inMaxContactConstraints in
|
||||
/// PhysicsSystem::Init.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L15">Jolt/Physics/EPhysicsUpdateError.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>ContactConstraintsFull = 1 << 2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ContactConstraintsFull = 4,
|
||||
}
|
||||
}
|
||||
381
Brutal.Jolt/Generated/Enums/ShapeSubType.gen.cs
Normal file
381
Brutal.Jolt/Generated/Enums/ShapeSubType.gen.cs
Normal file
|
|
@ -0,0 +1,381 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// This enumerates all shape types, each shape can return its type through Shape::GetSubType
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L75">Jolt/Physics/Collision/Shape/Shape.h:75</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EShapeSubType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ShapeSubType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Convex shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L78">Jolt/Physics/Collision/Shape/Shape.h:78</see>
|
||||
/// <br/>
|
||||
/// <c>Sphere</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Sphere,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L79">Jolt/Physics/Collision/Shape/Shape.h:79</see>
|
||||
/// <br/>
|
||||
/// <c>Box</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Box,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L80">Jolt/Physics/Collision/Shape/Shape.h:80</see>
|
||||
/// <br/>
|
||||
/// <c>Triangle</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Triangle,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L81">Jolt/Physics/Collision/Shape/Shape.h:81</see>
|
||||
/// <br/>
|
||||
/// <c>Capsule</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Capsule,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L82">Jolt/Physics/Collision/Shape/Shape.h:82</see>
|
||||
/// <br/>
|
||||
/// <c>TaperedCapsule</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TaperedCapsule,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L83">Jolt/Physics/Collision/Shape/Shape.h:83</see>
|
||||
/// <br/>
|
||||
/// <c>Cylinder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Cylinder,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L84">Jolt/Physics/Collision/Shape/Shape.h:84</see>
|
||||
/// <br/>
|
||||
/// <c>ConvexHull</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConvexHull,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Compound shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L87">Jolt/Physics/Collision/Shape/Shape.h:87</see>
|
||||
/// <br/>
|
||||
/// <c>StaticCompound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
StaticCompound,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L88">Jolt/Physics/Collision/Shape/Shape.h:88</see>
|
||||
/// <br/>
|
||||
/// <c>MutableCompound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MutableCompound,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Decorated shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L91">Jolt/Physics/Collision/Shape/Shape.h:91</see>
|
||||
/// <br/>
|
||||
/// <c>RotatedTranslated</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RotatedTranslated,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L92">Jolt/Physics/Collision/Shape/Shape.h:92</see>
|
||||
/// <br/>
|
||||
/// <c>Scaled</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Scaled,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L93">Jolt/Physics/Collision/Shape/Shape.h:93</see>
|
||||
/// <br/>
|
||||
/// <c>OffsetCenterOfMass</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
OffsetCenterOfMass,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Other shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L96">Jolt/Physics/Collision/Shape/Shape.h:96</see>
|
||||
/// <br/>
|
||||
/// <c>Mesh</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Mesh,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L97">Jolt/Physics/Collision/Shape/Shape.h:97</see>
|
||||
/// <br/>
|
||||
/// <c>HeightField</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HeightField,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L98">Jolt/Physics/Collision/Shape/Shape.h:98</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User defined shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L101">Jolt/Physics/Collision/Shape/Shape.h:101</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L102">Jolt/Physics/Collision/Shape/Shape.h:102</see>
|
||||
/// <br/>
|
||||
/// <c>User2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L103">Jolt/Physics/Collision/Shape/Shape.h:103</see>
|
||||
/// <br/>
|
||||
/// <c>User3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User3,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L104">Jolt/Physics/Collision/Shape/Shape.h:104</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L105">Jolt/Physics/Collision/Shape/Shape.h:105</see>
|
||||
/// <br/>
|
||||
/// <c>User5</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User5,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L106">Jolt/Physics/Collision/Shape/Shape.h:106</see>
|
||||
/// <br/>
|
||||
/// <c>User6</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User6,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L107">Jolt/Physics/Collision/Shape/Shape.h:107</see>
|
||||
/// <br/>
|
||||
/// <c>User7</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User7,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L108">Jolt/Physics/Collision/Shape/Shape.h:108</see>
|
||||
/// <br/>
|
||||
/// <c>User8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User8,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User defined convex shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L111">Jolt/Physics/Collision/Shape/Shape.h:111</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L112">Jolt/Physics/Collision/Shape/Shape.h:112</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L113">Jolt/Physics/Collision/Shape/Shape.h:113</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex3,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L114">Jolt/Physics/Collision/Shape/Shape.h:114</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex4,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L115">Jolt/Physics/Collision/Shape/Shape.h:115</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex5</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex5,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L116">Jolt/Physics/Collision/Shape/Shape.h:116</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex6</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex6,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L117">Jolt/Physics/Collision/Shape/Shape.h:117</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex7</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex7,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L118">Jolt/Physics/Collision/Shape/Shape.h:118</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex8,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Other shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L121">Jolt/Physics/Collision/Shape/Shape.h:121</see>
|
||||
/// <br/>
|
||||
/// <c>Plane</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Plane,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L122">Jolt/Physics/Collision/Shape/Shape.h:122</see>
|
||||
/// <br/>
|
||||
/// <c>TaperedCylinder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TaperedCylinder,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L123">Jolt/Physics/Collision/Shape/Shape.h:123</see>
|
||||
/// <br/>
|
||||
/// <c>Empty</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Empty,
|
||||
}
|
||||
}
|
||||
169
Brutal.Jolt/Generated/Enums/ShapeType.gen.cs
Normal file
169
Brutal.Jolt/Generated/Enums/ShapeType.gen.cs
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Shapes are categorized in groups, each shape can return which group it belongs to through its Shape::GetType
|
||||
/// function.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L55">Jolt/Physics/Collision/Shape/Shape.h:55</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EShapeType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ShapeType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by ConvexShape, all shapes that use the generic convex vs convex collision detection system (box,
|
||||
/// sphere, capsule, tapered capsule, cylinder, triangle)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L57">Jolt/Physics/Collision/Shape/Shape.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>Convex</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Convex,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by CompoundShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L58">Jolt/Physics/Collision/Shape/Shape.h:58</see>
|
||||
/// <br/>
|
||||
/// <c>Compound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Compound,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by DecoratedShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L59">Jolt/Physics/Collision/Shape/Shape.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>Decorated</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Decorated,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by MeshShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L60">Jolt/Physics/Collision/Shape/Shape.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Mesh</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Mesh,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by HeightFieldShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L61">Jolt/Physics/Collision/Shape/Shape.h:61</see>
|
||||
/// <br/>
|
||||
/// <c>HeightField</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HeightField,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by SoftBodyShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L62">Jolt/Physics/Collision/Shape/Shape.h:62</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User defined shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L65">Jolt/Physics/Collision/Shape/Shape.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User1,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L66">Jolt/Physics/Collision/Shape/Shape.h:66</see>
|
||||
/// <br/>
|
||||
/// <c>User2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User2,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L67">Jolt/Physics/Collision/Shape/Shape.h:67</see>
|
||||
/// <br/>
|
||||
/// <c>User3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User3,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L68">Jolt/Physics/Collision/Shape/Shape.h:68</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by PlaneShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L70">Jolt/Physics/Collision/Shape/Shape.h:70</see>
|
||||
/// <br/>
|
||||
/// <c>Plane</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Plane,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by EmptyShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L71">Jolt/Physics/Collision/Shape/Shape.h:71</see>
|
||||
/// <br/>
|
||||
/// <c>Empty</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Empty,
|
||||
}
|
||||
}
|
||||
60
Brutal.Jolt/Generated/Enums/SoftBodyConstraintColor.gen.cs
Normal file
60
Brutal.Jolt/Generated/Enums/SoftBodyConstraintColor.gen.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Defines how to color soft body constraints
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyManager.h#L27">Jolt/Physics/Body/BodyManager.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ESoftBodyConstraintColor</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum SoftBodyConstraintColor : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Draw different types of constraints in different colors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyManager.h#L29">Jolt/Physics/Body/BodyManager.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>ConstraintType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstraintType,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Draw constraints in the same group in the same color, non-parallel group will be red
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyManager.h#L30">Jolt/Physics/Body/BodyManager.h:30</see>
|
||||
/// <br/>
|
||||
/// <c>ConstraintGroup</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstraintGroup,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Draw constraints in the same group in the same color, non-parallel group will be red, and order within
|
||||
/// each group will be indicated with gradient
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Body/BodyManager.h#L31">Jolt/Physics/Body/BodyManager.h:31</see>
|
||||
/// <br/>
|
||||
/// <c>ConstraintOrder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstraintOrder,
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue