BatchedNodeValues

class Animation.BatchedNodeValues()

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

Constructors

Methods


Constructors

BatchedNodeValues.constructor()
Return type:BatchedNodeValues

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:[number]

[[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:[number]

Nodes to be made invisible.

BatchedNodeValues.visibilityOn
Type:[number]

Nodes to be made visible.

Methods

apply

BatchedNodeValues.apply(viewer)
Arguments:

Set the stored values on the supplied [[WebViewer]].

Return type:void

clear

BatchedNodeValues.clear()

Reset this object to its initial state.

Return type:void