Version: 2023.1
言語: 日本語

SpriteShapeSegment

struct in UnityEngine.U2D

マニュアルに切り替える

説明

SpriteShapeSegment contains info of sub-meshes generated by the SpriteShape generator C# Job later fed to SpriteShapeRenderer.

変数

geomIndexGeometry index of list of sub-meshes generated by SpriteShape.
indexCountIndex count of SpriteShape sub-mesh.
spriteIndexIndex of sprite that is used to generate segment/corner for this SpriteShapeSegment.
vertexCountVertex count of SpriteShape sub-mesh.