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

164 lines
9 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 = "ShapeCastSettings_Create")]
public static partial ShapeCastSettings ShapeCastSettings_Create();
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_Destroy")]
public static partial void ShapeCastSettings_Destroy(ShapeCastSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L97">Jolt/Physics/Collision/ShapeCast.h:97</see>
/// <br/>
/// <c>void SetBackFaceMode(EBackFaceMode inMode)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Set the backfacing mode for all shapes
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceMode")]
public static partial void ShapeCastSettings_SetBackFaceMode(ShapeCastSettings self, EBackFaceMode mode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L100">Jolt/Physics/Collision/ShapeCast.h:100</see>
/// <br/>
/// <c>EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How backfacing triangles should be treated (should we report moving from back to front for triangle
/// based shapes, e.g. for MeshShape/HeightFieldShape?)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetBackFaceModeTriangles")]
public static partial EBackFaceMode ShapeCastSettings_GetBackFaceModeTriangles(ShapeCastSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L100">Jolt/Physics/Collision/ShapeCast.h:100</see>
/// <br/>
/// <c>EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How backfacing triangles should be treated (should we report moving from back to front for triangle
/// based shapes, e.g. for MeshShape/HeightFieldShape?)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceModeTriangles")]
public static partial void ShapeCastSettings_SetBackFaceModeTriangles(ShapeCastSettings self, EBackFaceMode value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L103">Jolt/Physics/Collision/ShapeCast.h:103</see>
/// <br/>
/// <c>EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How backfacing convex objects should be treated (should we report starting inside an object and
/// moving out?)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetBackFaceModeConvex")]
public static partial EBackFaceMode ShapeCastSettings_GetBackFaceModeConvex(ShapeCastSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L103">Jolt/Physics/Collision/ShapeCast.h:103</see>
/// <br/>
/// <c>EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How backfacing convex objects should be treated (should we report starting inside an object and
/// moving out?)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetBackFaceModeConvex")]
public static partial void ShapeCastSettings_SetBackFaceModeConvex(ShapeCastSettings self, EBackFaceMode value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L106">Jolt/Physics/Collision/ShapeCast.h:106</see>
/// <br/>
/// <c>bool mUseShrunkenShapeAndConvexRadius = false</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// 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.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetUseShrunkenShapeAndConvexRadius")]
public static partial Brutal.Bool8 ShapeCastSettings_GetUseShrunkenShapeAndConvexRadius(ShapeCastSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L106">Jolt/Physics/Collision/ShapeCast.h:106</see>
/// <br/>
/// <c>bool mUseShrunkenShapeAndConvexRadius = false</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// 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.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_SetUseShrunkenShapeAndConvexRadius")]
public static partial void ShapeCastSettings_SetUseShrunkenShapeAndConvexRadius(ShapeCastSettings self, Brutal.Bool8 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L109">Jolt/Physics/Collision/ShapeCast.h:109</see>
/// <br/>
/// <c>bool mReturnDeepestPoint = false</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// 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)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeCastSettings_GetReturnDeepestPoint")]
public static partial Brutal.Bool8 ShapeCastSettings_GetReturnDeepestPoint(ShapeCastSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ShapeCast.h#L109">Jolt/Physics/Collision/ShapeCast.h:109</see>
/// <br/>
/// <c>bool mReturnDeepestPoint = false</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// 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)
/// </para>
/// </remarks>
[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);
}
}
}