Z.StandardLightingMaterial
Inherits from Z.Material
Description
The base lighting material.
Provided by Z.StandardLightingMaterial
Constructor
Functions
ambientColor( ) |
Gets the value of the color burn on the dark areas on the object surface's specified by the ambientMap. |
ambientColor(...) |
Sets the value of the color burn on the dark areas on the object surface's specified by the ambientMap. |
ambientMap( ) |
Gets the texture map that defines how the object's surface reacts to indirect light sources. |
ambientMap(...) |
Sets the texture map that defines how the object's surface reacts to indirect light sources. |
diffuseColor( ) |
Gets the value of the color burn on the object's surface. |
diffuseColor(...) |
Sets the value of the color burn on the object's surface. |
diffuseMap( ) |
Gets the texture map that defines the object's surface color data. |
diffuseMap(...) |
Sets the texture map that defines the object's surface color data. |
emissiveMap( ) |
Gets the texture map that defines areas of the object's surface that appear self-illuminated. |
emissiveMap(...) |
Sets the texture map that defines areas of the object's surface that appear self-illuminated. |
gammaCorrection( ) |
Gets whether gamma correction has been enabled. |
gammaCorrection(...) |
Sets whether to enable gamma correction. |
gamma( ) |
Gets the gamma level. |
gamma(...) |
Sets the gamma level. |
glossinessMap( ) |
Gets the texture map that defines how rough or smooth the object's surface is. |
glossinessMap(...) |
Sets the texture map that defines how rough or smooth the object's surface is. |
normalFlipY( ) |
Gets whether the normal map's Y-axis channel has been inverted. |
normalFlipY(...) |
Sets whether the normal map's Y-axis channel should be inverted. |
normalMap( ) |
Gets the texture map that defines how the object's surface reflects light. |
normalMap(...) |
Sets the texture map that defines how the object's surface reflects light. |
numPixelLights( ) |
Gets the number of pixel lights in the scene that the object will react to. |
numPixelLights(...) |
Sets the number of pixel lights in the scene that the object will react to. |
opacity( ) |
Gets the transparency of the object's surface. |
opacityMap( ) |
Gets the texture map that defines the transparency of the object's surface. |
opacityMap(...) |
Sets the texture map that defines the transparency of the object's surface. |
opacity(...) |
Sets the transparency of the object's surface. |
reflection( ) |
Gets the visibility of the object surface's reflection data. |
reflection(...) |
Sets the visibility of the object surface's reflection data. |
rimLightColor( ) |
Gets the color value of the rim light. |
rimLightColor(...) |
Sets the color value of the rim light. |
rimLightCutoff( ) |
Gets the surface area of the rim light. |
rimLightCutoff(...) |
Sets the surface area of the rim light. |
shininess( ) |
Gets the intensity of the gloss on the object's surface. |
shininess(...) |
Sets the intensity of the gloss on the object's surface. |
specularColor( ) |
Gets the color of the specular highlights on the object's surface. |
specularColor(...) |
Sets the color of the specular highlights on the object's surface. |
specularMap( ) |
Gets the texture map that defines the color of the specular highlights on the object's surface. |
specularMap(...) |
Sets the texture map that defines the color of the specular highlights on the object's surface. |
useRimLight( ) |
Gets whether the appearance of an outline on the object's surface, as if created by a light, has been enabled. |
useRimLight(...) |
Sets whether to enable the appearance of an outline on the object's surface, as if created by a light. |
Inherited from Z.Material
Constructor
Functions
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. |