<node3d>.emissive

Illuminates the node with the specified light color.

 

<node3d>.emissive(
    [r,g,b]    
    node = ''    # Positional argument
    op = viz.OP_DEFAULT    # keyword argument

)

 

[r,g,b]

Emissive color


node = ''

Name of sub-node to apply changes to


op = viz.OP_DEFAULT

Can be viz.OP_DEFAULT to use the nodes default op mode or a combination of the following values:

Op modes

viz.OP_TRAVERSE

When performing an operation on a node, traverse the entire subgraph and process all subnodes as well. This is the default value.

viz.OP_OVERRIDE

When applying attributes, have them override attributes of subnodes.

viz.OP_ROOT

When performing an operation on the node, start at the root transform of the node, instead of the model. Processing the root will include all child Vizard nodes.


Remarks

The emissive property illuminates the node with the specified light color. If the emissive property is set to [1,1,1] the node will appear to be illuminated by a white light. This lighting effect has no influence on other nodes.

Return Value

None

Example

node.emissive( [ 1, 1, 1 ] )

See also

<node3d>.ambient
<node3d>.color
<node3d>.shininess
<node3d>.specular