TransformUtils.GetConstrainProportions

Declaration

public static bool GetConstrainProportions(Transform transform);

Declaration

public static bool GetConstrainProportions(Transform[] transforms);

Parameters

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

Returns

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

Description

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


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