Readonly
eventReadonly
nameReadonly
parametersReadonly
uuidReadonly
variantThe LightDefinition of the ViewerLight.
The DottedPath in the built tree of ViewerLights. E.g. "_.top-1.sub-2.sub-sub-3.el-1"
The id representing a DottedPath.
Gets the inherited parameters from the Variant with cleaned Parameterizable prefix.
The wrapped Light.
The type of the ViewerLight's light.
Adds a listener function for the given event.
Adds an observer function for parameter changes. The ParameterObserver gets 3 parameters: the ParameterObservable, the old ParameterValue and the new ParameterValue.
See Parameters for an example.
Asserts whether given parameter is declared and valid.
Broadcasts the given event with given arguments to all listeners and emitters.
Rest
...args: any[]Invoke parameter observers for given parameter.
Optional
parameters: ParameterBagAlias for removeEventListener.
Alias for addEventListener.
Removes all eventListeners
for given event.
Removes all ParameterObservers for given parameter.
Static
createCreates a ViewerLight with given name.
Generated using TypeDoc
A ViewerLight of a Variant. Acts as a container for Babylon.js lights. Lives only in the context of a Variant.