BatchedNodeValues

class Communicator.Animation.BatchedNodeValues()

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

Methods


Properties

BatchedNodeValues.colors
Type

Map <number, Color()>

Color values to be applied with Model.setNodesColors

BatchedNodeValues.matrices
Type

[Matrix()]

Matrices to be set on the nodes specified in matrixNodeIds

BatchedNodeValues.matrixNodeIds
Type

[NodeId]

NodeId values corresponding to the matrix values in matrices

BatchedNodeValues.opacities
Type

Map <number, number>

Opacity values to be applied with Model.setNodesOpacities

BatchedNodeValues.visibilityOff
Type

[NodeId]

Nodes to be made invisible.

BatchedNodeValues.visibilityOn
Type

[NodeId]

Nodes to be made visible.

Methods

apply

BatchedNodeValues.apply(viewer)

Set the stored values on the supplied WebViewer

Arguments
Return type

void

clear

BatchedNodeValues.clear()

Reset this object to its initial state.

Return type

void