기술 자료

Unity Engine

Unity Engine

TransformUtils

Editor Transform Utility Class.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static class TransformUtils

Static Methods

Method

Description

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.