unitX MethodStatic

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

unitX(scale: number = 1): Vector2d

Parameter Type Description
scale number  

Returns - Vector2d

Defined in

Last Updated: 20 June, 2023