语言英语
  • C#

ITransform

UnityEngine.UIElements 中的接口

描述

此接口提供对 VisualElement 变换数据的访问。

读取此对象的属性可以获取其 VisualElement 变换的信息。可以写入变换的位置、缩放和旋转。

属性

matrix根据变换的位置、旋转和缩放计算出的变换矩阵(只读)。
positionVisualElement 变换的位置。
rotationVisualElement 变换的旋转,存储为四元数。
scaleVisualElement 变换的缩放。

Did you find this page useful? Please give it a rating: