ScaleUtilities extension

on

Methods

getScaleOnXAxis() double
getScaleOnYAxis() double
getScaleOnZAxis() double
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