DrivenTransformProperties
enumeration
Description 描述
An enumeration of transform properties that can be driven on a RectTransform by an object.
See Also: RectTransform.reapplyDrivenProperties.
Properties 属性
| None | Deselects all driven properties. | ||
| All | Selects all driven properties. | ||
| AnchoredPositionX | Selects driven property RectTransform.anchoredPosition.x. | ||
| AnchoredPositionY | Selects driven property RectTransform.anchoredPosition.y. | ||
| AnchoredPositionZ | Selects driven property RectTransform.anchoredPosition3D.z. | ||
| Rotation | Selects driven property Transform.localRotation. | ||
| ScaleX | Selects driven property Transform.localScale.x. | ||
| ScaleY | Selects driven property Transform.localScale.y. | ||
| ScaleZ | Selects driven property Transform.localScale.z. | ||
| AnchorMinX | Selects driven property RectTransform.anchorMin.x. | ||
| AnchorMinY | Selects driven property RectTransform.anchorMin.y. | ||
| AnchorMaxX | Selects driven property RectTransform.anchorMax.x. | ||
| AnchorMaxY | Selects driven property RectTransform.anchorMax.y. | ||
| SizeDeltaX | Selects driven property RectTransform.sizeDelta.x. | ||
| SizeDeltaY | Selects driven property RectTransform.sizeDelta.y. | ||
| PivotX | Selects driven property RectTransform.pivot.x. | ||
| PivotY | Selects driven property RectTransform.pivot.y. | ||
| AnchoredPosition | Selects driven property RectTransform.anchoredPosition. | ||
| AnchoredPosition3D | Selects driven property RectTransform.anchoredPosition3D. | ||
| Scale | Selects driven property combining ScaleX, ScaleY && ScaleZ. | ||
| AnchorMin | Selects driven property combining AnchorMinX and AnchorMinY. | ||
| AnchorMax | Selects driven property combining AnchorMaxX and AnchorMaxY. | ||
| Anchors | Selects driven property combining AnchorMinX, AnchorMinY, AnchorMaxX and AnchorMaxY. | ||
| SizeDelta | Selects driven property combining SizeDeltaX and SizeDeltaY. | ||
| Pivot | Selects driven property combining PivotX and PivotY. |