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

179 lines
10 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L18">Jolt/Physics/Collision/Shape/TriangleShape.h:18</see>
/// <br/>
/// <c>TriangleShapeSettings() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Default constructor for deserialization
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_Create")]
public static partial TriangleShapeSettings TriangleShapeSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L22">Jolt/Physics/Collision/Shape/TriangleShape.h:22</see>
/// <br/>
/// <c>TriangleShapeSettings(Vec3Arg inV1, Vec3Arg inV2, Vec3Arg inV3, float inConvexRadius = 0.0f, const PhysicsMaterial *inMaterial = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// 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.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_Create_2")]
public static partial TriangleShapeSettings TriangleShapeSettings_Create_2(float3 v1, float3 v2, float3 v3, float convexRadius, PhysicsMaterial material);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L14">Jolt/Physics/Collision/Shape/TriangleShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetRTTI")]
public static partial RTTI TriangleShapeSettings_GetRTTI(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L14">Jolt/Physics/Collision/Shape/TriangleShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_CastTo")]
public static partial void* TriangleShapeSettings_CastTo(TriangleShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L25">Jolt/Physics/Collision/Shape/TriangleShape.h:25</see>
/// <br/>
/// <c>virtual ShapeResult Create() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: ShapeSettings
/// </para>
/// <para>
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_CreateShape")]
public static partial Shape TriangleShapeSettings_CreateShape(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L27">Jolt/Physics/Collision/Shape/TriangleShape.h:27</see>
/// <br/>
/// <c>Vec3 mV1</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV1")]
public static partial float3 TriangleShapeSettings_GetV1(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L27">Jolt/Physics/Collision/Shape/TriangleShape.h:27</see>
/// <br/>
/// <c>Vec3 mV1</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV1")]
public static partial void TriangleShapeSettings_SetV1(TriangleShapeSettings self, float3 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L28">Jolt/Physics/Collision/Shape/TriangleShape.h:28</see>
/// <br/>
/// <c>Vec3 mV2</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV2")]
public static partial float3 TriangleShapeSettings_GetV2(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L28">Jolt/Physics/Collision/Shape/TriangleShape.h:28</see>
/// <br/>
/// <c>Vec3 mV2</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV2")]
public static partial void TriangleShapeSettings_SetV2(TriangleShapeSettings self, float3 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L29">Jolt/Physics/Collision/Shape/TriangleShape.h:29</see>
/// <br/>
/// <c>Vec3 mV3</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetV3")]
public static partial float3 TriangleShapeSettings_GetV3(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L29">Jolt/Physics/Collision/Shape/TriangleShape.h:29</see>
/// <br/>
/// <c>Vec3 mV3</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_SetV3")]
public static partial void TriangleShapeSettings_SetV3(TriangleShapeSettings self, float3 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L30">Jolt/Physics/Collision/Shape/TriangleShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TriangleShapeSettings_GetConvexRadius")]
public static partial float TriangleShapeSettings_GetConvexRadius(TriangleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TriangleShape.h#L30">Jolt/Physics/Collision/Shape/TriangleShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[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);
}
}
}