mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
26 changed files with 768360 additions and 0 deletions
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EActivation.gen.cs
Normal file
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EActivation.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/EActivation.h#L10">Jolt/Physics/EActivation.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EActivation</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum used by AddBody to determine if the body needs to be initially active
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EActivation : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Activate the body, making it part of the simulation
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/EActivation.h#L13">Jolt/Physics/EActivation.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>DontActivate</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
DontActivate,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
// <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/Collision/ActiveEdgeMode.h#L11">Jolt/Physics/Collision/ActiveEdgeMode.h:11</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EActiveEdgeMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public enum EActiveEdgeMode : 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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ActiveEdgeMode.h#L14">Jolt/Physics/Collision/ActiveEdgeMode.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>CollideWithAll</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollideWithAll,
|
||||
}
|
||||
}
|
||||
132
brutal.jolt/Brutal.Jolt/Generated/Enums/EAllowedDOFs.gen.cs
Normal file
132
brutal.jolt/Brutal.Jolt/Generated/Enums/EAllowedDOFs.gen.cs
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
// <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/AllowedDOFs.h#L10">Jolt/Physics/Body/AllowedDOFs.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EAllowedDOFs : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum used in BodyCreationSettings and MotionProperties to indicate which degrees of freedom a body has
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EAllowedDOFs : 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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L12">Jolt/Physics/Body/AllowedDOFs.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>None = 0b000000</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
None = 0b000000,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// All degrees of freedom are allowed
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L13">Jolt/Physics/Body/AllowedDOFs.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>All = 0b111111</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
All = 0b111111,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can move in world space X axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L14">Jolt/Physics/Body/AllowedDOFs.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>TranslationX = 0b000001</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TranslationX = 0b000001,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can move in world space Y axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L15">Jolt/Physics/Body/AllowedDOFs.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>TranslationY = 0b000010</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TranslationY = 0b000010,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can move in world space Z axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L16">Jolt/Physics/Body/AllowedDOFs.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>TranslationZ = 0b000100</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TranslationZ = 0b000100,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can rotate around world space X axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L17">Jolt/Physics/Body/AllowedDOFs.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>RotationX = 0b001000</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RotationX = 0b001000,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can rotate around world space Y axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L18">Jolt/Physics/Body/AllowedDOFs.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>RotationY = 0b010000</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RotationY = 0b010000,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body can rotate around world space Z axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L19">Jolt/Physics/Body/AllowedDOFs.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>RotationZ = 0b100000</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RotationZ = 0b100000,
|
||||
/// <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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/AllowedDOFs.h#L20">Jolt/Physics/Body/AllowedDOFs.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>Plane2D = TranslationX | TranslationY | RotationZ</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Plane2D = TranslationX|TranslationY|RotationZ,
|
||||
}
|
||||
}
|
||||
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EBackFaceMode.gen.cs
Normal file
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EBackFaceMode.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BackFaceMode.h#L10">Jolt/Physics/Collision/BackFaceMode.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EBackFaceMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// How collision detection functions will treat back facing triangles
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EBackFaceMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Ignore collision with back facing surfaces/triangles
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BackFaceMode.h#L13">Jolt/Physics/Collision/BackFaceMode.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>CollideWithBackFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CollideWithBackFaces,
|
||||
}
|
||||
}
|
||||
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EBodyType.gen.cs
Normal file
47
brutal.jolt/Brutal.Jolt/Generated/Enums/EBodyType.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyType.h#L10">Jolt/Physics/Body/BodyType.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EBodyType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type of body
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EBodyType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Rigid body consisting of a rigid shape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyType.h#L13">Jolt/Physics/Body/BodyType.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
}
|
||||
}
|
||||
47
brutal.jolt/Brutal.Jolt/Generated/Enums/ECanSleep.gen.cs
Normal file
47
brutal.jolt/Brutal.Jolt/Generated/Enums/ECanSleep.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/MotionProperties.h#L21">Jolt/Physics/Body/MotionProperties.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ECanSleep</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum that determines if an object can go to sleep
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum ECanSleep : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Object cannot go to sleep
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/MotionProperties.h#L24">Jolt/Physics/Body/MotionProperties.h:24</see>
|
||||
/// <br/>
|
||||
/// <c>CanSleep = 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
CanSleep = 1,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
// <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/Collision/CollectFacesMode.h#L10">Jolt/Physics/Collision/CollectFacesMode.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ECollectFacesMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Whether or not to collect faces, used by CastShape and CollideShape
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum ECollectFacesMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// mShape1/2Face is desired
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollectFacesMode.h#L13">Jolt/Physics/Collision/CollectFacesMode.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>NoFaces</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
NoFaces,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
// <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/Constraints/Constraint.h#L57">Jolt/Physics/Constraints/Constraint.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintSpace</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Certain constraints support setting them up in local or world space. This governs what is used.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EConstraintSpace : 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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/Constraint.h#L60">Jolt/Physics/Constraints/Constraint.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>WorldSpace</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
WorldSpace,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,181 @@
|
|||
// <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/Constraints/Constraint.h#L33">Jolt/Physics/Constraints/Constraint.h:33</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintSubType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum to identify constraint sub type
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EConstraintSubType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/Constraint.h#L47">Jolt/Physics/Constraints/Constraint.h:47</see>
|
||||
/// <br/>
|
||||
/// <c>Pulley</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Pulley,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/Constraint.h#L50">Jolt/Physics/Constraints/Constraint.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// User defined constraint types start here
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
User1,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/Constraint.h#L53">Jolt/Physics/Constraints/Constraint.h:53</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
// <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/Constraints/Constraint.h#L26">Jolt/Physics/Constraints/Constraint.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EConstraintType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum to identify constraint type
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EConstraintType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/Constraint.h#L29">Jolt/Physics/Constraints/Constraint.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>TwoBodyConstraint</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TwoBodyConstraint,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
// <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/MotionQuality.h#L10">Jolt/Physics/Body/MotionQuality.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotionQuality : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Motion quality, or how well it detects collisions when it has a high velocity
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EMotionQuality : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/MotionQuality.h#L14">Jolt/Physics/Body/MotionQuality.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>Discrete</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
Discrete,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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 &lt; 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/Brutal.Jolt/Generated/Enums/EMotionType.gen.cs
Normal file
59
brutal.jolt/Brutal.Jolt/Generated/Enums/EMotionType.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/MotionType.h#L10">Jolt/Physics/Body/MotionType.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotionType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Motion type of a physics body
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EMotionType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Non movable
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/MotionType.h#L14">Jolt/Physics/Body/MotionType.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>Dynamic</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Dynamic,
|
||||
}
|
||||
}
|
||||
54
brutal.jolt/Brutal.Jolt/Generated/Enums/EMotorState.gen.cs
Normal file
54
brutal.jolt/Brutal.Jolt/Generated/Enums/EMotorState.gen.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
// <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/Constraints/MotorSettings.h#L16">Jolt/Physics/Constraints/MotorSettings.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EMotorState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum EMotorState : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Motor is off
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/MotorSettings.h#L20">Jolt/Physics/Constraints/MotorSettings.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>Position</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Position,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
// <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,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
// <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/Constraints/PathConstraint.h#L21">Jolt/Physics/Constraints/PathConstraint.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EPathRotationConstraintType</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// How to constrain the rotation of the body to a PathConstraint
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EPathRotationConstraintType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Do not constrain the rotation of the body at all
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/PathConstraint.h#L28">Jolt/Physics/Constraints/PathConstraint.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>FullyConstrained</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
FullyConstrained,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
// <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/EPhysicsUpdateError.h#L10">Jolt/Physics/EPhysicsUpdateError.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EPhysicsUpdateError : uint32</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <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>
|
||||
/// </remarks>
|
||||
[Flags]
|
||||
public enum EPhysicsUpdateError : uint
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// No errors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/EPhysicsUpdateError.h#L13">Jolt/Physics/EPhysicsUpdateError.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>ManifoldCacheFull = 1 << 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ManifoldCacheFull = 1 << 0,
|
||||
/// <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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/EPhysicsUpdateError.h#L14">Jolt/Physics/EPhysicsUpdateError.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>BodyPairCacheFull = 1 << 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
BodyPairCacheFull = 1 << 1,
|
||||
/// <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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/EPhysicsUpdateError.h#L15">Jolt/Physics/EPhysicsUpdateError.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>ContactConstraintsFull = 1 << 2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ContactConstraintsFull = 1 << 2,
|
||||
}
|
||||
}
|
||||
364
brutal.jolt/Brutal.Jolt/Generated/Enums/EShapeSubType.gen.cs
Normal file
364
brutal.jolt/Brutal.Jolt/Generated/Enums/EShapeSubType.gen.cs
Normal file
|
|
@ -0,0 +1,364 @@
|
|||
// <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/Collision/Shape/Shape.h#L76">Jolt/Physics/Collision/Shape/Shape.h:76</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EShapeSubType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// This enumerates all shape types, each shape can return its type through Shape::GetSubType
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EShapeSubType : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L79">Jolt/Physics/Collision/Shape/Shape.h:79</see>
|
||||
/// <br/>
|
||||
/// <c>Sphere</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Convex shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
Sphere,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L80">Jolt/Physics/Collision/Shape/Shape.h:80</see>
|
||||
/// <br/>
|
||||
/// <c>Box</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Box,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L81">Jolt/Physics/Collision/Shape/Shape.h:81</see>
|
||||
/// <br/>
|
||||
/// <c>Triangle</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Triangle,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L82">Jolt/Physics/Collision/Shape/Shape.h:82</see>
|
||||
/// <br/>
|
||||
/// <c>Capsule</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Capsule,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L83">Jolt/Physics/Collision/Shape/Shape.h:83</see>
|
||||
/// <br/>
|
||||
/// <c>TaperedCapsule</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TaperedCapsule,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L84">Jolt/Physics/Collision/Shape/Shape.h:84</see>
|
||||
/// <br/>
|
||||
/// <c>Cylinder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Cylinder,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L85">Jolt/Physics/Collision/Shape/Shape.h:85</see>
|
||||
/// <br/>
|
||||
/// <c>ConvexHull</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConvexHull,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L88">Jolt/Physics/Collision/Shape/Shape.h:88</see>
|
||||
/// <br/>
|
||||
/// <c>StaticCompound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Compound shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
StaticCompound,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L89">Jolt/Physics/Collision/Shape/Shape.h:89</see>
|
||||
/// <br/>
|
||||
/// <c>MutableCompound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MutableCompound,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L92">Jolt/Physics/Collision/Shape/Shape.h:92</see>
|
||||
/// <br/>
|
||||
/// <c>RotatedTranslated</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Decorated shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
RotatedTranslated,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L93">Jolt/Physics/Collision/Shape/Shape.h:93</see>
|
||||
/// <br/>
|
||||
/// <c>Scaled</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Scaled,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L94">Jolt/Physics/Collision/Shape/Shape.h:94</see>
|
||||
/// <br/>
|
||||
/// <c>OffsetCenterOfMass</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
OffsetCenterOfMass,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L97">Jolt/Physics/Collision/Shape/Shape.h:97</see>
|
||||
/// <br/>
|
||||
/// <c>Mesh</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Other shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
Mesh,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L98">Jolt/Physics/Collision/Shape/Shape.h:98</see>
|
||||
/// <br/>
|
||||
/// <c>HeightField</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HeightField,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L99">Jolt/Physics/Collision/Shape/Shape.h:99</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L102">Jolt/Physics/Collision/Shape/Shape.h:102</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// User defined shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
User1,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L103">Jolt/Physics/Collision/Shape/Shape.h:103</see>
|
||||
/// <br/>
|
||||
/// <c>User2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User2,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L104">Jolt/Physics/Collision/Shape/Shape.h:104</see>
|
||||
/// <br/>
|
||||
/// <c>User3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User3,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L105">Jolt/Physics/Collision/Shape/Shape.h:105</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L106">Jolt/Physics/Collision/Shape/Shape.h:106</see>
|
||||
/// <br/>
|
||||
/// <c>User5</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User5,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L107">Jolt/Physics/Collision/Shape/Shape.h:107</see>
|
||||
/// <br/>
|
||||
/// <c>User6</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User6,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L108">Jolt/Physics/Collision/Shape/Shape.h:108</see>
|
||||
/// <br/>
|
||||
/// <c>User7</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User7,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L109">Jolt/Physics/Collision/Shape/Shape.h:109</see>
|
||||
/// <br/>
|
||||
/// <c>User8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User8,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L112">Jolt/Physics/Collision/Shape/Shape.h:112</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// User defined convex shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
UserConvex1,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L113">Jolt/Physics/Collision/Shape/Shape.h:113</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex2,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L114">Jolt/Physics/Collision/Shape/Shape.h:114</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex3,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L115">Jolt/Physics/Collision/Shape/Shape.h:115</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex4,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L116">Jolt/Physics/Collision/Shape/Shape.h:116</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex5</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex5,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L117">Jolt/Physics/Collision/Shape/Shape.h:117</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex6</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex6,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L118">Jolt/Physics/Collision/Shape/Shape.h:118</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex7</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex7,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L119">Jolt/Physics/Collision/Shape/Shape.h:119</see>
|
||||
/// <br/>
|
||||
/// <c>UserConvex8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
UserConvex8,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L122">Jolt/Physics/Collision/Shape/Shape.h:122</see>
|
||||
/// <br/>
|
||||
/// <c>Plane</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Other shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
Plane,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L123">Jolt/Physics/Collision/Shape/Shape.h:123</see>
|
||||
/// <br/>
|
||||
/// <c>TaperedCylinder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TaperedCylinder,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L124">Jolt/Physics/Collision/Shape/Shape.h:124</see>
|
||||
/// <br/>
|
||||
/// <c>Empty</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Empty,
|
||||
}
|
||||
}
|
||||
162
brutal.jolt/Brutal.Jolt/Generated/Enums/EShapeType.gen.cs
Normal file
162
brutal.jolt/Brutal.Jolt/Generated/Enums/EShapeType.gen.cs
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
// <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/Collision/Shape/Shape.h#L56">Jolt/Physics/Collision/Shape/Shape.h:56</see>
|
||||
/// <br/>
|
||||
/// <c>enum class EShapeType : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Shapes are categorized in groups, each shape can return which group it belongs to through its Shape::GetType
|
||||
/// function.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum EShapeType : 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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L58">Jolt/Physics/Collision/Shape/Shape.h:58</see>
|
||||
/// <br/>
|
||||
/// <c>Convex</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Convex,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by CompoundShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L59">Jolt/Physics/Collision/Shape/Shape.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>Compound</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Compound,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by DecoratedShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L60">Jolt/Physics/Collision/Shape/Shape.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Decorated</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Decorated,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by MeshShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L61">Jolt/Physics/Collision/Shape/Shape.h:61</see>
|
||||
/// <br/>
|
||||
/// <c>Mesh</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Mesh,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by HeightFieldShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L62">Jolt/Physics/Collision/Shape/Shape.h:62</see>
|
||||
/// <br/>
|
||||
/// <c>HeightField</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HeightField,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by SoftBodyShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L63">Jolt/Physics/Collision/Shape/Shape.h:63</see>
|
||||
/// <br/>
|
||||
/// <c>SoftBody</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SoftBody,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L66">Jolt/Physics/Collision/Shape/Shape.h:66</see>
|
||||
/// <br/>
|
||||
/// <c>User1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// User defined shapes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
User1,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L67">Jolt/Physics/Collision/Shape/Shape.h:67</see>
|
||||
/// <br/>
|
||||
/// <c>User2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User2,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L68">Jolt/Physics/Collision/Shape/Shape.h:68</see>
|
||||
/// <br/>
|
||||
/// <c>User3</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User3,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L69">Jolt/Physics/Collision/Shape/Shape.h:69</see>
|
||||
/// <br/>
|
||||
/// <c>User4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
User4,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by PlaneShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L71">Jolt/Physics/Collision/Shape/Shape.h:71</see>
|
||||
/// <br/>
|
||||
/// <c>Plane</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Plane,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Used by EmptyShape
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L72">Jolt/Physics/Collision/Shape/Shape.h:72</see>
|
||||
/// <br/>
|
||||
/// <c>Empty</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Empty,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
// <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/BodyManager.h#L27">Jolt/Physics/Body/BodyManager.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ESoftBodyConstraintColor</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Defines how to color soft body constraints
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum ESoftBodyConstraintColor : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Draw different types of constraints in different colors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/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/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L31">Jolt/Physics/Body/BodyManager.h:31</see>
|
||||
/// <br/>
|
||||
/// <c>ConstraintOrder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
ConstraintOrder,
|
||||
}
|
||||
}
|
||||
47
brutal.jolt/Brutal.Jolt/Generated/Enums/ESpringMode.gen.cs
Normal file
47
brutal.jolt/Brutal.Jolt/Generated/Enums/ESpringMode.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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/SpringSettings.h#L15">Jolt/Physics/Constraints/SpringSettings.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>enum class ESpringMode : uint8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Enum used by constraints to specify how the spring is defined
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public enum ESpringMode : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Frequency and damping are specified
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/SpringSettings.h#L17">Jolt/Physics/Constraints/SpringSettings.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>FrequencyAndDamping</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
FrequencyAndDamping,
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stiffness and damping are specified
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/SpringSettings.h#L18">Jolt/Physics/Constraints/SpringSettings.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>StiffnessAndDamping</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
StiffnessAndDamping,
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue