Visualize.setRotation() method

Set the rotation of visualization object.

Signature:

setRotation(axis: number[], angle: number): void;

Parameters

ParameterDescription
axisThe axis to rotate around, i.e., [X, Y, Z].
angleThe angle to rotate.

Returns:

void