This action sets the alpha or transparency of the geometry
| <node3d>.alpha( | |
| value | |
| node = '' | |
| op = viz.OP_DEFAULT |
)
value
The alpha value between 0 and 1. 0 is transparent, 1 is opaque.
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. |
If subchild is '' then the alpha value will be changed for the entire object. The alpha is the amount of transparency.
None
<node3d>.color
<node3d>.getAlpha
<node3d>.alphaFunc
<node3d>.blendColor
<node3d>.blendFunc
<vizact>.fadeTo