Z.EnvironmentLight

Studio

Z.EnvironmentLight

Inherits from Z.Base

Description

A light that applies lighting to objects in a scene as defined by a cubemap.

The reflection property of the material being lit needs to be greater than 0 for this light to take affect.

Provided by Z.EnvironmentLight

Constructor

Z.EnvironmentLight( ) Constructs a new Z.EnvironmentLight object.

Functions

irradianceCubeMap( ) Gets the cubemap representing the ambient light in an environment.
irradianceCubeMap(...) Sets the cubemap representing the ambient light in an environment.
mipLevel( ) Gets the level of detail the reflectionCubeMap is set to display at.
mipLevel(...) Sets the level of detail to display the reflectionCubeMap at.
reflectionCubeMap( ) Gets the cubemap representing the reflections in an environment.
reflectionCubeMap(...) Sets the cubemap representing the reflections in an environment.

Inherited from Z.Base

Functions

emit(...) Calls the handler functions attached to an event.
hasTag(...) Returns true if this object has the specified tag.
off(...) Removes a handler function from an event.
on(...) Attaches a handler function to an event.
one(...) Attaches a single-use handler function to an event.
pushTag(...) Adds a tag to this object.
removeTag(...) Removes a tag from this object.
tags( ) Gets an array of the tags that this object belongs to.
tags(...) Sets the array of the tags that this object belongs to.
Open in new window