mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
83 lines
4.6 KiB
C#
83 lines
4.6 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 = "CollideShapeSettings_Create")]
|
|
public static partial CollideShapeSettings CollideShapeSettings_Create();
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_Destroy")]
|
|
public static partial void CollideShapeSettings_Destroy(CollideShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L100">Jolt/Physics/Collision/CollideShape.h:100</see>
|
|
/// <br/>
|
|
/// <c>float mMaxSeparationDistance = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// When &gt; 0 contacts in the vicinity of the query shape can be found. All nearest contacts that are not further away than this distance will be found.
|
|
/// Note that in this case CollideShapeResult::mPenetrationDepth can become negative to indicate that objects are not overlapping. (unit: meter)
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_GetMaxSeparationDistance")]
|
|
public static partial float CollideShapeSettings_GetMaxSeparationDistance(CollideShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L100">Jolt/Physics/Collision/CollideShape.h:100</see>
|
|
/// <br/>
|
|
/// <c>float mMaxSeparationDistance = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// When &gt; 0 contacts in the vicinity of the query shape can be found. All nearest contacts that are not further away than this distance will be found.
|
|
/// Note that in this case CollideShapeResult::mPenetrationDepth can become negative to indicate that objects are not overlapping. (unit: meter)
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_SetMaxSeparationDistance")]
|
|
public static partial void CollideShapeSettings_SetMaxSeparationDistance(CollideShapeSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L103">Jolt/Physics/Collision/CollideShape.h:103</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceMode = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing triangles should be treated
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_GetBackFaceMode")]
|
|
public static partial EBackFaceMode CollideShapeSettings_GetBackFaceMode(CollideShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L103">Jolt/Physics/Collision/CollideShape.h:103</see>
|
|
/// <br/>
|
|
/// <c>EBackFaceMode mBackFaceMode = EBackFaceMode::IgnoreBackFaces</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How backfacing triangles should be treated
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_SetBackFaceMode")]
|
|
public static partial void CollideShapeSettings_SetBackFaceMode(CollideShapeSettings self, EBackFaceMode value);
|
|
[LibraryImport("jolt", EntryPoint = "CollideShapeSettings_AsCollideSettingsBase")]
|
|
public static partial CollideSettingsBase CollideShapeSettings_AsCollideSettingsBase(CollideShapeSettings self);
|
|
}
|
|
}
|
|
}
|