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

179 lines
9.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 = "CollideSettingsBase_Create")]
public static partial CollideSettingsBase CollideSettingsBase_Create();
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_Destroy")]
public static partial void CollideSettingsBase_Destroy(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L77">Jolt/Physics/Collision/CollideShape.h:77</see>
/// <br/>
/// <c>EActiveEdgeMode mActiveEdgeMode = EActiveEdgeMode::CollideOnlyWithActive</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How active edges (edges that a moving object should bump into) are handled
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetActiveEdgeMode")]
public static partial EActiveEdgeMode CollideSettingsBase_GetActiveEdgeMode(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L77">Jolt/Physics/Collision/CollideShape.h:77</see>
/// <br/>
/// <c>EActiveEdgeMode mActiveEdgeMode = EActiveEdgeMode::CollideOnlyWithActive</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// How active edges (edges that a moving object should bump into) are handled
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetActiveEdgeMode")]
public static partial void CollideSettingsBase_SetActiveEdgeMode(CollideSettingsBase self, EActiveEdgeMode value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L80">Jolt/Physics/Collision/CollideShape.h:80</see>
/// <br/>
/// <c>ECollectFacesMode mCollectFacesMode = ECollectFacesMode::NoFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// If colliding faces should be collected or only the collision point
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetCollectFacesMode")]
public static partial ECollectFacesMode CollideSettingsBase_GetCollectFacesMode(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L80">Jolt/Physics/Collision/CollideShape.h:80</see>
/// <br/>
/// <c>ECollectFacesMode mCollectFacesMode = ECollectFacesMode::NoFaces</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// If colliding faces should be collected or only the collision point
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetCollectFacesMode")]
public static partial void CollideSettingsBase_SetCollectFacesMode(CollideSettingsBase self, ECollectFacesMode value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L83">Jolt/Physics/Collision/CollideShape.h:83</see>
/// <br/>
/// <c>float mCollisionTolerance = cDefaultCollisionTolerance</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit:
/// meter)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetCollisionTolerance")]
public static partial float CollideSettingsBase_GetCollisionTolerance(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L83">Jolt/Physics/Collision/CollideShape.h:83</see>
/// <br/>
/// <c>float mCollisionTolerance = cDefaultCollisionTolerance</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit:
/// meter)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetCollisionTolerance")]
public static partial void CollideSettingsBase_SetCollisionTolerance(CollideSettingsBase self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L86">Jolt/Physics/Collision/CollideShape.h:86</see>
/// <br/>
/// <c>float mPenetrationTolerance = cDefaultPenetrationTolerance</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A factor that determines the accuracy of the penetration depth calculation. If the change of the
/// squared distance is less than tolerance * current_penetration_depth^2 the algorithm will terminate.
/// (unit: dimensionless)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetPenetrationTolerance")]
public static partial float CollideSettingsBase_GetPenetrationTolerance(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L86">Jolt/Physics/Collision/CollideShape.h:86</see>
/// <br/>
/// <c>float mPenetrationTolerance = cDefaultPenetrationTolerance</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A factor that determines the accuracy of the penetration depth calculation. If the change of the
/// squared distance is less than tolerance * current_penetration_depth^2 the algorithm will terminate.
/// (unit: dimensionless)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetPenetrationTolerance")]
public static partial void CollideSettingsBase_SetPenetrationTolerance(CollideSettingsBase self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L89">Jolt/Physics/Collision/CollideShape.h:89</see>
/// <br/>
/// <c>Vec3 mActiveEdgeMovementDirection = Vec3::sZero()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// When mActiveEdgeMode is CollideOnlyWithActive a movement direction can be provided. When hitting an
/// inactive edge, the system will select the triangle normal as penetration depth only if it impedes
/// the movement less than with the calculated penetration depth.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetActiveEdgeMovementDirection")]
public static partial float3 CollideSettingsBase_GetActiveEdgeMovementDirection(CollideSettingsBase self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideShape.h#L89">Jolt/Physics/Collision/CollideShape.h:89</see>
/// <br/>
/// <c>Vec3 mActiveEdgeMovementDirection = Vec3::sZero()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// When mActiveEdgeMode is CollideOnlyWithActive a movement direction can be provided. When hitting an
/// inactive edge, the system will select the triangle normal as penetration depth only if it impedes
/// the movement less than with the calculated penetration depth.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetActiveEdgeMovementDirection")]
public static partial void CollideSettingsBase_SetActiveEdgeMovementDirection(CollideSettingsBase self, float3 value);
}
}
}