Version: 2022.1
언어: 한국어

SpriteShapeParameters

struct in UnityEngine.U2D

매뉴얼로 전환

설명

Input parameters for the SpriteShape tessellator.

변수

adaptiveUVIf enabled, the tessellator will adapt the size of the quads based on the height of the edge.
angleThresholdThe threshold of the angle that indicates whether it is a corner or not.
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.
borderPivotThe local displacement of the Sprite when tessellated.
carpetIf true, the Shape will be tessellated as a closed form.
fillScaleThe scale to be used to calculate the UVs of the fill texture.
fillTextureThe texture to be used for the fill of the SpriteShape.
smartSpriteIf enabled the tessellator will consider creating corners based on the various input parameters.
splineDetailThe tessellation quality of the input Spline that determines the complexity of the mesh.
spriteBordersThe borders to be used for calculating the uv of the edges based on the border info found in Sprites.
stretchUVStretch the UV mapping for the Fill texture.
transformThe world space transform of the GameObject used for calculating the UVs of the Fill texture.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961