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

84 lines
3.8 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L150">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:150</see>
/// <br/>
/// <c>class GetTrianglesContextMultiVertexList</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Implementation of GetTrianglesStart/Next that uses a multiple fixed lists of vertices for the triangles.
/// These are transformed into world space when getting the triangles.
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct GetTrianglesContextMultiVertexList : IDisposable
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L234">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:234</see>
/// <br/>
/// <c>struct Part</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 80)]
public struct Part
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L236">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:236</see>
/// <br/>
/// <c>Mat44 mLocalToWorld</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public float4x4 mLocalToWorld;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L237">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:237</see>
/// <br/>
/// <c>const Vec3 * mTriangleVertices</c>
/// </para>
/// </summary>
[FieldOffset(64)]
public Ptr<float3> mTriangleVertices;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L238">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:238</see>
/// <br/>
/// <c>size_t mNumTriangleVertices</c>
/// </para>
/// </summary>
[FieldOffset(72)]
public nuint mNumTriangleVertices;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/GetTrianglesContext.h#L154">Jolt/Physics/Collision/Shape/GetTrianglesContext.h:154</see>
/// <br/>
/// <c>GetTrianglesContextMultiVertexList(bool inIsInsideOut, const PhysicsMaterial *inMaterial)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor, to be called in GetTrianglesStart
/// </para>
/// </remarks>
public static GetTrianglesContextMultiVertexList Create(bool isInsideOut, PhysicsMaterial material) => Jolt.PInvoke.GetTrianglesContextMultiVertexList_Create(isInsideOut, material);
public void Dispose() => Jolt.PInvoke.GetTrianglesContextMultiVertexList_Destroy(this);
}
}