Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

bevelCutoffThe threshold of the angle that decides if it should be tessellated as a curve or a corner.
bevelSizeThe radius of the curve to be tessellated.
cornerTrue will indicate that this point should be tessellated as a corner or a continuous line otherwise.
heightThe height of the tessellated edge.
spriteIndexThe Sprite to be used for a particular edge.