// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// Specialization of cast result against a shape /// /// /// C++: /// Jolt/Physics/Collision/CastResult.h:29 ///
/// class RayCastResult : public BroadPhaseCastResult ///
///
[StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct RayCastResult { [FieldOffset(0)] public uint BodyID; [FieldOffset(4)] public float Fraction; /// /// /// Sub shape ID of shape that we collided against /// /// /// C++: /// Jolt/Physics/Collision/CastResult.h:34 ///
/// SubShapeID mSubShapeID2 ///
///
[FieldOffset(8)] public uint SubShapeID2; } }