js-util

Home > rc-js-util > Vec2 > scalarMultiply

Vec2.scalarMultiply() method

Signature:

scalarMultiply<TResult extends TTypedArray = TArray>(_value: number, _result?: Vec2<TResult>): Vec2<TResult>;

Parameters

Parameter Type Description
_value number  
_result Vec2<TResult> (Optional)

Returns:

Vec2<TResult>