unitY MethodStatic

Return a (new) Vector2d with components 0,scale If scale is not given default value 1 is used.

unitY(scale: number = 1): Vector2d

Parameter Type Description
scale number  

Returns - Vector2d

Defined in

Last Updated: 20 June, 2023