用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:spritealignment:spritealignment

SpriteAlignment 精灵对齐

Description 描述

How a Sprite's graphic rectangle is aligned with its pivot point.

See Also: Sprite class.

一个精灵的图形矩形如何与它的支点对齐。

参见:Sprite class.

Variables 变量

CenterPivot is at the center of the graphic rectangle.
枢轴在图形矩形的中心。
TopLeftPivot is at the top left corner of the graphic rectangle.
枢轴在图形矩形的左上角。
TopCenterPivot is at the center of the top edge of the graphic rectangle.
枢轴是在图形矩形的顶部边缘的中心。
TopRightPivot is at the top right corner of the graphic rectangle.
枢轴在图形矩形的右上角。
LeftCenterPivot is at the center of the left edge of the graphic rectangle.
枢轴位于图形矩形的左边缘的中心处。
RightCenterPivot is at the center of the right edge of the graphic rectangle.
枢轴位于图形矩形的右边缘的中心。
BottomLeftPivot is at the bottom left corner of the graphic rectangle.
枢轴在图形矩形的左下角上。
BottomCenterPivot is at the center of the bottom edge of the graphic rectangle.
枢轴是在图形矩形的底部边缘的中心。
script/unityengine/enumerations/spritealignment/spritealignment.txt · 最后更改: 2016/08/29 02:49 由 emjo