public static int[] Generate (Mesh mesh, U2D.SpriteShapeParameters shapeParams, ShapeControlPoint[] points, SpriteShapeMetaData[] metaData, AngleRangeInfo[] angleRange, Sprite[] sprites, Sprite[] corners);

파라미터

meshThe output mesh.
shapeParamsInput parameters for the SpriteShape tessellator.
pointsA list of control points that describes the shape.
metaDataAdditional data about the shape's control point. This is useful during tessellation of the shape.
spritesThe list of Sprites that could be used for the edges.
cornersThe list of Sprites that could be used for the corners.
angleRangeA parameter that determins how to tessellate each of the edge.

설명

Generate a mesh based on input parameters.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961