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
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,91 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L13">Jolt/Physics/Collision/CollidePointResult.h:13</see>
|
||||
/// <br/>
|
||||
/// <c>class CollidePointResult</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Structure that holds the result of colliding a point against a shape
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CollidePointResult : IDisposable
|
||||
{
|
||||
public static CollidePointResult Create() => Jolt.PInvoke.CollidePointResult_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L19">Jolt/Physics/Collision/CollidePointResult.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>inline float GetEarlyOutFraction() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'. For
|
||||
/// point queries there is no sensible return value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public float GetEarlyOutFraction() => Jolt.PInvoke.CollidePointResult_GetEarlyOutFraction(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body that was hit
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L21">Jolt/Physics/Collision/CollidePointResult.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetBodyID() => Jolt.PInvoke.CollidePointResult_GetBodyID(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Body that was hit
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L21">Jolt/Physics/Collision/CollidePointResult.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>BodyID mBodyID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetBodyID(uint value) => Jolt.PInvoke.CollidePointResult_SetBodyID(this, value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID of shape that we collided against
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L22">Jolt/Physics/Collision/CollidePointResult.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetSubShapeID2() => Jolt.PInvoke.CollidePointResult_GetSubShapeID2(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Sub shape ID of shape that we collided against
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollidePointResult.h#L22">Jolt/Physics/Collision/CollidePointResult.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetSubShapeID2(uint value) => Jolt.PInvoke.CollidePointResult_SetSubShapeID2(this, value);
|
||||
public void Dispose() => Jolt.PInvoke.CollidePointResult_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue