mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38: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,53 @@
|
|||
// <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/CastResult.h#L29">Jolt/Physics/Collision/CastResult.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>class RayCastResult : public BroadPhaseCastResult</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Specialization of cast result against a shape
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct RayCastResult : IDisposable
|
||||
{
|
||||
public static RayCastResult Create() => Jolt.PInvoke.RayCastResult_Create();
|
||||
/// <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>
|
||||
public uint GetSubShapeID2() => Jolt.PInvoke.RayCastResult_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/CastResult.h#L34">Jolt/Physics/Collision/CastResult.h:34</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeID mSubShapeID2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetSubShapeID2(uint value) => Jolt.PInvoke.RayCastResult_SetSubShapeID2(this, value);
|
||||
public static implicit operator BroadPhaseCastResult(RayCastResult value) => Jolt.PInvoke.RayCastResult_AsBroadPhaseCastResult(value);
|
||||
public void Dispose() => Jolt.PInvoke.RayCastResult_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue