PathFollowingAnimator.(constructor)

Constructor of PathFollowingAnimator.

Signature:

constructor(viewer: Viewer3D, pointArray: Array<number[]>, useDefaultUpVector?: boolean);

Parameters

ParameterDescription
viewerThe viewer3D object.
pointArrayThe path to follow for the animating pawns.
useDefaultUpVectorIf true, the upVector of pawn will always be [0, 0, 1](z-axis). Default value is true.