Struct Shape2DVertex
A component describing a 2d closed polygon shape.
Namespace: Unity.Tiny.Core2D
Syntax
public struct Shape2DVertex : IBufferElementData
Remarks
If there are no indices, vertices are rendered as a triangle fan. Indices can be provided with Shape2DIndex Shapes are limited to 64k vertices.
Fields
position
Declaration
public float2 position
Field Value
Type | Description |
---|---|
float2 |