用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:recttransformutility:recttransformutility

RectTransformUtility 矩阵变换工具

class in UnityEngine

Description 描述

Utility class containing helper methods for working with RectTransform.

矩阵变换工作的工具类包含帮助方法。

Static Functions 静态函数

FlipLayoutAxesFlips the horizontal and vertical axes of the RectTransform size and alignment, and optionally its children as well.
翻转水平轴和垂直轴的 RectTransform 大小和对齐方式,并且选择性的子物体也一样。
FlipLayoutOnAxisFlips the alignment of the RectTransform along the horizontal or vertical axis, and optionally its children as well.
沿着水平或者垂直轴翻转对齐的矩形变换,并且它的子物体也是可选择的。
PixelAdjustPointConvert a given point in screen space into a pixel correct point.
将屏幕空间中给定的点转换成正确像素点。
PixelAdjustRectGiven a rect transform, return the corner points in pixel accurate coordinates.
指定矩形变换,返回角点的精确坐标单位像素。
RectangleContainsScreenPointDoes the RectTransform contain the screen point as seen from the given camera?
从指定摄像机中观看该矩形变换是否包含屏幕点?
ScreenPointToLocalPointInRectangleTransform a screen space point to a position in the local space of a RectTransform that is on the plane of its rectangle.
屏幕空间点转换为矩形变换内部的本地位置,该点在它的矩形平面上。
ScreenPointToWorldPointInRectangleTransform a screen space point to a position in world space that is on the plane of the given RectTransform.
屏幕空间点转换为世界空间点,该点在矩形变换的平面上。
script/unityengine/classes/recttransformutility/recttransformutility.txt · 最后更改: 2016/08/02 05:33 (外部编辑)