Struct Shape2DIndex
Optional indices into the vertices of the shape.
Namespace: Unity.Tiny.Core2D
Syntax
public struct Shape2DIndex : IBufferElementData
Remarks
Every 3 indices form one triangle. Index values must be between 0 and vertices.size. If there are no indices, vertices are rendered as a triangle fan.
Fields
index
Declaration
public ushort index
Field Value
Type | Description |
---|---|
System.UInt16 |