//
// 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
{
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:18
///
/// TriangleShapeSettings() = default
///
///
///
///
/// Default constructor for deserialization
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_Create")]
public static partial TriangleShapeSettings TriangleShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:22
///
/// TriangleShapeSettings(Vec3Arg inV1, Vec3Arg inV2, Vec3Arg inV3, float inConvexRadius = 0.0f, const PhysicsMaterial *inMaterial = nullptr)
///
///
///
///
/// Create a triangle with points (inV1, inV2, inV3) (counter clockwise) and convex radius inConvexRadius.
/// Note that the convex radius is currently only used for shape vs shape collision, for all other purposes the triangle is infinitely thin.
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_Create_2")]
public static partial TriangleShapeSettings TriangleShapeSettings_Create_2(float3 v1, float3 v2, float3 v3, float convexRadius, PhysicsMaterial material);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:14
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetRTTI")]
public static partial RTTI TriangleShapeSettings_GetRTTI(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:14
///
///
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_CastTo")]
public static partial void* TriangleShapeSettings_CastTo(TriangleShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:25
///
/// virtual ShapeResult Create() const override
///
///
///
///
/// See: ShapeSettings
///
///
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_CreateShape")]
public static partial Shape TriangleShapeSettings_CreateShape(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:27
///
/// Vec3 mV1
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV1")]
public static partial float3 TriangleShapeSettings_GetV1(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:27
///
/// Vec3 mV1
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV1")]
public static partial void TriangleShapeSettings_SetV1(TriangleShapeSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:28
///
/// Vec3 mV2
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV2")]
public static partial float3 TriangleShapeSettings_GetV2(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:28
///
/// Vec3 mV2
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV2")]
public static partial void TriangleShapeSettings_SetV2(TriangleShapeSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:29
///
/// Vec3 mV3
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV3")]
public static partial float3 TriangleShapeSettings_GetV3(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:29
///
/// Vec3 mV3
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV3")]
public static partial void TriangleShapeSettings_SetV3(TriangleShapeSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:30
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetConvexRadius")]
public static partial float TriangleShapeSettings_GetConvexRadius(TriangleShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TriangleShape.h:30
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetConvexRadius")]
public static partial void TriangleShapeSettings_SetConvexRadius(TriangleShapeSettings self, float value);
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_AddRef")]
public static partial void TriangleShapeSettings_AddRef(TriangleShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_Release")]
public static partial void TriangleShapeSettings_Release(TriangleShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetRefCount")]
public static partial uint TriangleShapeSettings_GetRefCount(TriangleShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_AsConvexShapeSettings")]
public static partial ConvexShapeSettings TriangleShapeSettings_AsConvexShapeSettings(TriangleShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_AsShapeSettings")]
public static partial ShapeSettings TriangleShapeSettings_AsShapeSettings(TriangleShapeSettings self);
}
}
}