brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/RayCastResult.gen.cs
2026-10-15 14:12:02 +13:00

47 lines
2.1 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 = "RayCastResult_Create")]
public static partial RayCastResult RayCastResult_Create();
[LibraryImport("jolt", EntryPoint = "RayCastResult_Destroy")]
public static partial void RayCastResult_Destroy(RayCastResult 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/CastResult.h#L34">Jolt/Physics/Collision/CastResult.h:34</see>
/// <br/>
/// <c>SubShapeID mSubShapeID2</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "RayCastResult_GetSubShapeID2")]
public static partial uint RayCastResult_GetSubShapeID2(RayCastResult 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/CastResult.h#L34">Jolt/Physics/Collision/CastResult.h:34</see>
/// <br/>
/// <c>SubShapeID mSubShapeID2</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "RayCastResult_SetSubShapeID2")]
public static partial void RayCastResult_SetSubShapeID2(RayCastResult self, uint value);
[LibraryImport("jolt", EntryPoint = "RayCastResult_AsBroadPhaseCastResult")]
public static partial BroadPhaseCastResult RayCastResult_AsBroadPhaseCastResult(RayCastResult self);
}
}
}