Experimental: this API is experimental and might be changed or removed in the future.

SpriteShapeMetaData

struct in UnityEngine.Experimental.U2D

Cambiar al Manual

Descripción

Additional data about the shape's control point. This is useful during tessellation of the shape.

Variables

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.