MRLightEntity

MRLightEntity ⇐ MREntity

Represents lights in 3D space. mr-light

Kind: global class
Extends: MREntity

mrLightEntity.MRLightEntity

Kind: instance class of MRLightEntity

new exports.MRLightEntity()

Constructs the base 3D object.

mrLightEntity.connected()

(async) handles setting up this Light once it is connected to run as an entity component.

Kind: instance method of MRLightEntity

mrLightEntity.mutated(mutation)

(async) Updates the lights color and intensity as requested.

Kind: instance method of MRLightEntity

Param Type Description
mutation object the update/change/mutation to be handled.