Version: 2023.1

TransformUtils.GetConstrainProportions

切换到手册
public static bool GetConstrainProportions (Transform transform);
public static bool GetConstrainProportions (Transform[] transforms);

参数

transform Transform to check Constrain Proportions value for.
transforms Transforms to check Constrain Proportions value for.

返回

bool Returns true if all passed transforms have Constrain Proportions enabled.

描述

Returns Constrain Proportions toggle value as it is shown in the Transform Inspector window.