ScaleUtilities extension

on

Methods

getScaleOnXAxis() → double

Available on Matrix4, provided by the ScaleUtilities extension

getScaleOnYAxis() → double

Available on Matrix4, provided by the ScaleUtilities extension

getScaleOnZAxis() → double

Available on Matrix4, provided by the ScaleUtilities extension

Returns the scale on the z-axis. The z-axis doesnt get changed by translation or rotation, so the scale on the z-axis is the original intended scale. This is useful for stretching effect on the x and y axis, which is applied to simulate for example a over-scroll effect.
resetToZScale() → void

Available on Matrix4, provided by the ScaleUtilities extension