js-util

Home > rc-js-util > Vec2 > copyToBuffer

Vec2.copyToBuffer() method

If endianness is not supplied the platform’s endianness will be used.

Signature:

copyToBuffer(_memoryDataView: DataView, _pointer: number, _littleEndian?: boolean): void;

Parameters

Parameter Type Description
_memoryDataView DataView  
_pointer number  
_littleEndian boolean (Optional)

Returns:

void