Communicator.Animation.BatchedNodeValues

 BatchedNodeValues

A structure that holds interpolated animation data for one or more nodes. See BatchedValues.

Properties

colors

colors: Map<number, Color>

Color values to be applied with Model.setNodesColors.

matrices

matrices: Matrix[]

Matrices to be set on the nodes specified in matrixNodeIds.

matrixNodeIds

matrixNodeIds: NodeId[]

NodeId values corresponding to the matrix values in matrices.

opacities

opacities: Map<number, number>

Opacity values to be applied with Model.setNodesOpacities.

visibilityOff

visibilityOff: NodeId[]

Nodes to be made invisible.

visibilityOn

visibilityOn: NodeId[]

Nodes to be made visible.

Methods

apply

  • Set the stored values on the supplied WebViewer.

    Parameters

    Returns void

clear

  • clear(): void
  • Reset this object to its initial state.

    Returns void