BatchedNodeValues

class Animation.BatchedNodeValues()

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

Constructors

Animation.BatchedNodeValues.constructor()
BatchedNodeValues(): BatchedNodeValues

Returns: BatchedNodeValues

Properties

Animation.BatchedNodeValues.colors

readonly

colors: Map

Color values to be applied with [[Model.setNodesColors]].

Animation.BatchedNodeValues.matrices
matrices: Matrix[]

Matrices to be set on the nodes specified in [[matrixNodeIds]].

Animation.BatchedNodeValues.matrixNodeIds
matrixNodeIds: number[]

[[NodeId]] values corresponding to the matrix values in [[matrices]].

Animation.BatchedNodeValues.opacities

readonly

opacities: Map

Opacity values to be applied with [[Model.setNodesOpacities]].

Animation.BatchedNodeValues.visibilityOff
visibilityOff: number[]

Nodes to be made invisible.

Animation.BatchedNodeValues.visibilityOn
visibilityOn: number[]

Nodes to be made visible.

Methods

Animation.BatchedNodeValues.apply()
apply(viewer: IWebViewer): void

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

Parameters

viewer: IWebViewer

Returns: void

Animation.BatchedNodeValues.clear()
clear(): void

Reset this object to its initial state.

Returns: void