An Element of a Variant. Acts as a container for diverse definitions. Lives only in the context of a Variant.

When used in typings, refer to via its alias VariantElement to prevent name clashes with the web APIs Element class

Hierarchy

Properties

eventEmitter: EventEmitter<string | symbol, any>
name: string
nodes: TransformNode[] = []
parameters: ParameterBag = {}
uuid: string
variant: Variant

Accessors

Methods

  • Adds an observer function for camera matrix changes. The observer gets 2 parameters: the AbstractMesh and a ClientRect object.

    Parameters

    • traceable: string
    • observer: CallableFunction
    • Optional payload: any

    Returns Element

Generated using TypeDoc