// // 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 = "RayCastSettings_Create")] public static partial RayCastSettings RayCastSettings_Create(); [LibraryImport("jolt", EntryPoint = "RayCastSettings_Destroy")] public static partial void RayCastSettings_Destroy(RayCastSettings self); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:75 ///
/// void SetBackFaceMode(EBackFaceMode inMode) ///
///
/// /// /// Set the backfacing mode for all shapes /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceMode")] public static partial void RayCastSettings_SetBackFaceMode(RayCastSettings self, EBackFaceMode mode); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:78 ///
/// EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces ///
///
/// /// /// How backfacing triangles should be treated (should we report back facing hits for triangle based /// shapes, e.g. MeshShape/HeightFieldShape?) /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_GetBackFaceModeTriangles")] public static partial EBackFaceMode RayCastSettings_GetBackFaceModeTriangles(RayCastSettings self); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:78 ///
/// EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces ///
///
/// /// /// How backfacing triangles should be treated (should we report back facing hits for triangle based /// shapes, e.g. MeshShape/HeightFieldShape?) /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceModeTriangles")] public static partial void RayCastSettings_SetBackFaceModeTriangles(RayCastSettings self, EBackFaceMode value); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:81 ///
/// EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces ///
///
/// /// /// How backfacing convex objects should be treated (should we report back facing hits for convex /// shapes?) /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_GetBackFaceModeConvex")] public static partial EBackFaceMode RayCastSettings_GetBackFaceModeConvex(RayCastSettings self); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:81 ///
/// EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces ///
///
/// /// /// How backfacing convex objects should be treated (should we report back facing hits for convex /// shapes?) /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceModeConvex")] public static partial void RayCastSettings_SetBackFaceModeConvex(RayCastSettings self, EBackFaceMode value); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:84 ///
/// bool mTreatConvexAsSolid = true ///
///
/// /// /// If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will /// generate a hit at fraction 0. /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_GetTreatConvexAsSolid")] public static partial Brutal.Bool8 RayCastSettings_GetTreatConvexAsSolid(RayCastSettings self); /// /// /// C++: /// Jolt/Physics/Collision/RayCast.h:84 ///
/// bool mTreatConvexAsSolid = true ///
///
/// /// /// If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will /// generate a hit at fraction 0. /// /// [LibraryImport("jolt", EntryPoint = "RayCastSettings_SetTreatConvexAsSolid")] public static partial void RayCastSettings_SetTreatConvexAsSolid(RayCastSettings self, Brutal.Bool8 value); } } }