Files
GhostEngine/src/ThridParty/Ghost.Ufbx/Wrapper/LineSegment.nativegen.cs
2026-03-15 02:19:40 +09:00

20 lines
377 B
C#

namespace Ghost.Ufbx;
public unsafe struct LineSegment
{
private ufbx_line_segment* _ptr;
internal LineSegment(ufbx_line_segment* ptr)
{
_ptr = ptr;
}
public bool IsNull => _ptr == null;
public uint IndexBegin => _ptr->index_begin;
public uint NumIndices => _ptr->num_indices;
internal ufbx_line_segment* GetUnsafePtr() => _ptr;
}