Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DrivenTransformProperties

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An enumeration of transform properties that can be driven on a RectTransform by an object.

Variables

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 && Scale Z.
AnchorMin Selects driven property combining AnchorMinX and AnchorMinY.
AnchorMax Selects driven property combining AnchorMaxX and AnchorMaxY.
Anchors Selects driven property combining AnchorMinX, ::refAnchorMinY, AnchorMaxX and AnchorMaxY.
SizeDelta Selects driven property combining SizeDeltaX and SizeDeltaY.
Pivot Selects driven property combining PivotX and PivotY.