//
// 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);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:77
///
/// EActiveEdgeMode mActiveEdgeMode = EActiveEdgeMode::CollideOnlyWithActive
///
///
///
///
/// How active edges (edges that a moving object should bump into) are handled
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetActiveEdgeMode")]
public static partial EActiveEdgeMode CollideSettingsBase_GetActiveEdgeMode(CollideSettingsBase self);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:77
///
/// EActiveEdgeMode mActiveEdgeMode = EActiveEdgeMode::CollideOnlyWithActive
///
///
///
///
/// How active edges (edges that a moving object should bump into) are handled
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetActiveEdgeMode")]
public static partial void CollideSettingsBase_SetActiveEdgeMode(CollideSettingsBase self, EActiveEdgeMode value);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:80
///
/// ECollectFacesMode mCollectFacesMode = ECollectFacesMode::NoFaces
///
///
///
///
/// If colliding faces should be collected or only the collision point
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetCollectFacesMode")]
public static partial ECollectFacesMode CollideSettingsBase_GetCollectFacesMode(CollideSettingsBase self);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:80
///
/// ECollectFacesMode mCollectFacesMode = ECollectFacesMode::NoFaces
///
///
///
///
/// If colliding faces should be collected or only the collision point
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetCollectFacesMode")]
public static partial void CollideSettingsBase_SetCollectFacesMode(CollideSettingsBase self, ECollectFacesMode value);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:83
///
/// float mCollisionTolerance = cDefaultCollisionTolerance
///
///
///
///
/// If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit:
/// meter)
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetCollisionTolerance")]
public static partial float CollideSettingsBase_GetCollisionTolerance(CollideSettingsBase self);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:83
///
/// float mCollisionTolerance = cDefaultCollisionTolerance
///
///
///
///
/// If objects are closer than this distance, they are considered to be colliding (used for GJK) (unit:
/// meter)
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetCollisionTolerance")]
public static partial void CollideSettingsBase_SetCollisionTolerance(CollideSettingsBase self, float value);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:86
///
/// float mPenetrationTolerance = cDefaultPenetrationTolerance
///
///
///
///
/// 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)
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetPenetrationTolerance")]
public static partial float CollideSettingsBase_GetPenetrationTolerance(CollideSettingsBase self);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:86
///
/// float mPenetrationTolerance = cDefaultPenetrationTolerance
///
///
///
///
/// 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)
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetPenetrationTolerance")]
public static partial void CollideSettingsBase_SetPenetrationTolerance(CollideSettingsBase self, float value);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:89
///
/// Vec3 mActiveEdgeMovementDirection = Vec3::sZero()
///
///
///
///
/// 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.
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_GetActiveEdgeMovementDirection")]
public static partial float3 CollideSettingsBase_GetActiveEdgeMovementDirection(CollideSettingsBase self);
///
///
/// C++:
/// Jolt/Physics/Collision/CollideShape.h:89
///
/// Vec3 mActiveEdgeMovementDirection = Vec3::sZero()
///
///
///
///
/// 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.
///
///
[LibraryImport("jolt", EntryPoint = "CollideSettingsBase_SetActiveEdgeMovementDirection")]
public static partial void CollideSettingsBase_SetActiveEdgeMovementDirection(CollideSettingsBase self, float3 value);
}
}
}