mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
130 lines
6.7 KiB
C#
130 lines
6.7 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 = "RayCastSettings_Create")]
|
|
public static partial RayCastSettings RayCastSettings_Create();
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_Destroy")]
|
|
public static partial void RayCastSettings_Destroy(RayCastSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L75">Jolt/Physics/Collision/RayCast.h:75</see>
|
|
/// <br/>
|
|
/// <c>void SetBackFaceMode(EBackFaceMode inMode)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the backfacing mode for all shapes
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceMode")]
|
|
public static partial void RayCastSettings_SetBackFaceMode(RayCastSettings self, EBackFaceMode mode);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L78">Jolt/Physics/Collision/RayCast.h:78</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing triangles should be treated (should we report back facing hits for triangle based
|
|
/// shapes, e.g. MeshShape/HeightFieldShape?)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_GetBackFaceModeTriangles")]
|
|
public static partial EBackFaceMode RayCastSettings_GetBackFaceModeTriangles(RayCastSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L78">Jolt/Physics/Collision/RayCast.h:78</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceModeTriangles = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing triangles should be treated (should we report back facing hits for triangle based
|
|
/// shapes, e.g. MeshShape/HeightFieldShape?)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceModeTriangles")]
|
|
public static partial void RayCastSettings_SetBackFaceModeTriangles(RayCastSettings self, EBackFaceMode value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L81">Jolt/Physics/Collision/RayCast.h:81</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing convex objects should be treated (should we report back facing hits for convex
|
|
/// shapes?)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_GetBackFaceModeConvex")]
|
|
public static partial EBackFaceMode RayCastSettings_GetBackFaceModeConvex(RayCastSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L81">Jolt/Physics/Collision/RayCast.h:81</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceModeConvex = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing convex objects should be treated (should we report back facing hits for convex
|
|
/// shapes?)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_SetBackFaceModeConvex")]
|
|
public static partial void RayCastSettings_SetBackFaceModeConvex(RayCastSettings self, EBackFaceMode value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L84">Jolt/Physics/Collision/RayCast.h:84</see>
|
|
/// <br/>
|
|
/// <c>bool mTreatConvexAsSolid = true</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will
|
|
/// generate a hit at fraction 0.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_GetTreatConvexAsSolid")]
|
|
public static partial Brutal.Bool8 RayCastSettings_GetTreatConvexAsSolid(RayCastSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/RayCast.h#L84">Jolt/Physics/Collision/RayCast.h:84</see>
|
|
/// <br/>
|
|
/// <c>bool mTreatConvexAsSolid = true</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will
|
|
/// generate a hit at fraction 0.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "RayCastSettings_SetTreatConvexAsSolid")]
|
|
public static partial void RayCastSettings_SetTreatConvexAsSolid(RayCastSettings self, Brutal.Bool8 value);
|
|
}
|
|
}
|
|
}
|