The entity to add.
Optional
startTime: numberThe start time of the entity within the scene (in milliseconds).
Optional
duration: numberThe duration of the entity within the scene (in milliseconds).
The EntityBuilder instance for chaining.
Adds an entity from the graph by its name.
The name of the entity in the graph.
Optional
startTime: numberThe start time of the entity within the scene (in milliseconds).
Optional
duration: numberThe duration of the entity within the scene (in milliseconds).
The EntityBuilder instance for chaining.
Sets the graph object to be used for adding entities by name.
An object containing entities accessible by name.
The EntityBuilder instance for chaining.
Adds an entity to the builder with a specified start time and duration.