Go to: Synopsis. Return value. Flags. MEL examples.
shadingNode [-asLight] [-asPostProcess] [-asRendering] [-asShader] [-asTexture] [-asUtility] [-name
string] [-parent string]
node
shadingNode is undoable, NOT queryable, and NOT
editable.
The shadingNode command classifies any DG node as a shader, texture
light, post process, or utility so that it can be properly
organized in the multi-lister. Recall that any DG node can be used
a part of a a shader, texture or light - regardless of how it is
classified by this. command. These classifications are provided for
convenience in the UI.
string |
(the name of the new node) |
asLight, asPostProcess, asRendering, asShader, asTexture, asUtility, name,
parent
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
string $myShader;
$myShader = `shadingNode -asShader anisotropic`;