Class: Transform

Transform(reporter, settings)

Temporarily transforms the way a block is displayed.

Constructor

new Transform(reporter, settings)

Parameters:
Name Type Description
reporter Reporter
settings Object
Properties
Name Type Description
timer Timer
scene Scene
realtime Boolean
Source:

Interfaces

onRelink

Members

targets :Array.<Object>

Objects on which this transform should be applied
Type:
  • Array.<Object>
Source:

Methods

(protected) _onTimerUpdate(DOMHighResTimeStamp)

Parameters:
Name Type Description
DOMHighResTimeStamp DOMHighResTimeStamp (timstamp: decimal number, in milliseconds)
Source:

addById(blockInstanceId, subComponentIdopt)

Object to start applying the transform to
Parameters:
Name Type Attributes Description
blockInstanceId UUID
subComponentId UUID <optional>
Source:

relinkObject3Ds()

Rebuilds the list of Object3D's that need transforming, by finding them in the scene.
Source:

removeById(objectToRemove, restore)

Object to stop applying the transform to
Parameters:
Name Type Description
objectToRemove Object3D
restore Boolean
Source: