js-util

Home > rc-js-util > Mat4 > castToBaseType

Mat4.castToBaseType() method

Although the typed array tuples extend a typed array, they are not structurally compatible. This function returns the argument passed without modification but cast as the underlying storage type, e.g. Float32Array.

Signature:

castToBaseType(): TArray;

Returns:

TArray