Retrieves the value of the “color” attribute of a shader node. This attribute represents the surface color of the shader.
Parameters: | lIndex : int |
---|---|
Return type: | Color |
Derived from api method maya.OpenMaya.MFnLayeredShader.color
Retrieves the value of the “compositingFlag” attribute of a shader node.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.compositingFlag
Retrieves the value of the “glowColor” attribute of a shader node. This attribute represents the ambient color of the shader.
Parameters: | lIndex : int |
---|---|
Return type: | Color |
Derived from api method maya.OpenMaya.MFnLayeredShader.glowColor
Retrieves the value of the “hardwareColor” attribute of a shader node. This attribute represents the color of the material that appears in shaded mode.
Return type: | Color |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.hardwareColor
Retrieves the value of the “hardwareShader” attribute of a layered shader node.
Return type: | Color |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.hardwareShader
Retrieves the value of the “transparency” attribute of a shader node. This attribute represents the surface transparency of the shader.
Parameters: | lIndex : int |
---|---|
Return type: | Color |
Derived from api method maya.OpenMaya.MFnLayeredShader.transparency
Sets the value of the “color” attribute of a shader node.
Parameters: | col : Color lIndex : int |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setColor
Sets the value of the “compositingFlag” attribute of a shader node.
Parameters: |
|
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setCompositingFlag
Sets the value of the “glowColor” attribute of a shader node.
Parameters: | glow_color : Color lIndex : int |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setGlowColor
Sets the value of the “hardwareColor” attribute of a shader node.
Parameters: |
|
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setHardwareColor
Sets the value of the “hardwareShader” attribute of a shader node.
Parameters: |
|
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setHardwareShader
Sets the value of the “transparency” attribute of a shader node.
Parameters: | transp : Color lIndex : int |
---|
Derived from api method maya.OpenMaya.MFnLayeredShader.setTransparency