Gets the specular color
| <node3d>.getSpecular( | |
| node = '' | |
| op = viz.OP_DEFAULT |
)
node = ''
Name of subnode
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. |
The specular property determines what color the highlight (a.k.a the reflection of a light on a model) will be.
[r,g,b]
<node3d>.getAmbient
<node3d>.getColor
<node3d>.getEmissive
<node3d>.getShininess