SpriteShapeMetaData
Additional data about the shape's control point. This is useful during tessellation of the shape.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.SpriteShapeModule
public struct SpriteShapeMetaData
Fields
Value | Description |
|---|---|
| bevelCutoff | The threshold of the angle that decides if it should be tessellated as a curve or a corner. |
| bevelSize | The radius of the curve to be tessellated. |
| corner | True will indicate that this point should be tessellated as a corner or a continuous line otherwise. |
| height | The height of the tessellated edge. |
| spriteIndex | The Sprite to be used for a particular edge. |