mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
87 lines
4.3 KiB
C#
87 lines
4.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_Create")]
|
|
public static partial CollidePointResult CollidePointResult_Create();
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_Destroy")]
|
|
public static partial void CollidePointResult_Destroy(CollidePointResult self);
|
|
/// <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>
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_GetEarlyOutFraction")]
|
|
public static partial float CollidePointResult_GetEarlyOutFraction(CollidePointResult self);
|
|
/// <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>
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_GetBodyID")]
|
|
public static partial uint CollidePointResult_GetBodyID(CollidePointResult self);
|
|
/// <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>
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_SetBodyID")]
|
|
public static partial void CollidePointResult_SetBodyID(CollidePointResult self, uint 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>
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_GetSubShapeID2")]
|
|
public static partial uint CollidePointResult_GetSubShapeID2(CollidePointResult self);
|
|
/// <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>
|
|
[LibraryImport("jolt", EntryPoint = "CollidePointResult_SetSubShapeID2")]
|
|
public static partial void CollidePointResult_SetSubShapeID2(CollidePointResult self, uint value);
|
|
}
|
|
}
|
|
}
|