TransformUtils

class in UnityEditor

Description

Editor Transform Utility Class.

Static Methods

GetConstrainProportionsReturns Constrain Proportions toggle value as it is shown in the Transform Inspector window.
GetInspectorRotationReturns the rotation of a transform as it is shown in the Transform Inspector window.
SetConstrainProportionsSets Constrain Proportions as it would be set in the Transform Inspector window.
SetInspectorRotationSets the rotation of a transform as it would be set by the Transform Inspector window.

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