Class: abstract
FLight
The base class for lights in Fibbo.
Constructors
new FLight()
new FLight(
scene
,options
):FLight
Parameters
• scene: FScene
• options: FLightOptions
= {}
Returns
Defined in
Methods
emitOnLoaded()
emitOnLoaded():
void
Emit the onLoaded callbacks.
Returns
void
Defined in
onLoaded()
onLoaded(
callback
):void
Add a callback to be called when the light is loaded.
Parameters
• callback
The callback function.
Returns
void
Defined in
Properties
__CALLBACKS_ON_LOADED__
__CALLBACKS_ON_LOADED__: () =>
void
[] =[]
Callbacks for when the light is loaded.
Defined in
scene
scene:
FScene
The scene the light is attached to.