Interface: Element<Params>
Interface for creating visual elements in the scene. Defines the contract for all element types including video, image, text, and captions.
Type parameters
| Name | Type |
|---|---|
Params | ElementParams |
Table of contents
Methods
Properties
Methods
create
▸ create(params): ThreadGenerator
Creates and manages the element in the scene
Parameters
| Name | Type |
|---|---|
params | Params |
Returns
ThreadGenerator
Defined in
Properties
name
• name: string
The unique name identifier for this element type