//
// 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 = "ShapeCastSettings_Create")]
public static partial ShapeCastSettings ShapeCastSettings_Create();
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_Destroy")]
public static partial void ShapeCastSettings_Destroy(ShapeCastSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:97
///
/// void SetBackFaceMode(EBackFaceMode inMode)
///
///
///
///
/// Set the backfacing mode for all shapes
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceMode")]
public static partial void ShapeCastSettings_SetBackFaceMode(ShapeCastSettings self, EBackFaceMode mode);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:100
///
/// EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces
///
///
///
///
/// How backfacing triangles should be treated (should we report moving from back to front for triangle
/// based shapes, e.g. for MeshShape/HeightFieldShape?)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetBackFaceModeTriangles")]
public static partial EBackFaceMode ShapeCastSettings_GetBackFaceModeTriangles(ShapeCastSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:100
///
/// EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces
///
///
///
///
/// How backfacing triangles should be treated (should we report moving from back to front for triangle
/// based shapes, e.g. for MeshShape/HeightFieldShape?)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceModeTriangles")]
public static partial void ShapeCastSettings_SetBackFaceModeTriangles(ShapeCastSettings self, EBackFaceMode value);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:103
///
/// EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces
///
///
///
///
/// How backfacing convex objects should be treated (should we report starting inside an object and
/// moving out?)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetBackFaceModeConvex")]
public static partial EBackFaceMode ShapeCastSettings_GetBackFaceModeConvex(ShapeCastSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:103
///
/// EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces
///
///
///
///
/// How backfacing convex objects should be treated (should we report starting inside an object and
/// moving out?)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceModeConvex")]
public static partial void ShapeCastSettings_SetBackFaceModeConvex(ShapeCastSettings self, EBackFaceMode value);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:106
///
/// bool mUseShrunkenShapeAndConvexRadius = false
///
///
///
///
/// Indicates if we want to shrink the shape by the convex radius and then expand it again. This speeds
/// up collision detection and gives a more accurate normal at the cost of a more 'rounded' shape.
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetUseShrunkenShapeAndConvexRadius")]
public static partial Brutal.Bool8 ShapeCastSettings_GetUseShrunkenShapeAndConvexRadius(ShapeCastSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:106
///
/// bool mUseShrunkenShapeAndConvexRadius = false
///
///
///
///
/// Indicates if we want to shrink the shape by the convex radius and then expand it again. This speeds
/// up collision detection and gives a more accurate normal at the cost of a more 'rounded' shape.
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetUseShrunkenShapeAndConvexRadius")]
public static partial void ShapeCastSettings_SetUseShrunkenShapeAndConvexRadius(ShapeCastSettings self, Brutal.Bool8 value);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:109
///
/// bool mReturnDeepestPoint = false
///
///
///
///
/// When true, and the shape is intersecting at the beginning of the cast (fraction = 0) then this will
/// calculate the deepest penetration point (costing additional CPU time)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetReturnDeepestPoint")]
public static partial Brutal.Bool8 ShapeCastSettings_GetReturnDeepestPoint(ShapeCastSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/ShapeCast.h:109
///
/// bool mReturnDeepestPoint = false
///
///
///
///
/// When true, and the shape is intersecting at the beginning of the cast (fraction = 0) then this will
/// calculate the deepest penetration point (costing additional CPU time)
///
///
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetReturnDeepestPoint")]
public static partial void ShapeCastSettings_SetReturnDeepestPoint(ShapeCastSettings self, Brutal.Bool8 value);
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_AsCollideSettingsBase")]
public static partial CollideSettingsBase ShapeCastSettings_AsCollideSettingsBase(ShapeCastSettings self);
}
}
}