class counterpart of mel function ambientLight
The ambientLight command is used to edit the parameters of existing ambientLights, or to create new ones. The default behaviour is to create a new ambientlight.
Retrieves the value of the “ambientShade” attribute of an ambient light node. This attribute determines how positional the light is. A value of 0 represents a completely ambient light, while a value of 1 represents a point light.
Return type: | float |
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.ambientShade
Retrieves the value of the “castSoftShadows” attribute of an ambient light node. This attribute determines whether or not the light casts soft shadows.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.castSoftShadows
radius of the disc around the light
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
color of the light (0-1)
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
dither the shadowFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.ambientLight
Retrieves the value of the “shadowRadius” attribute of an ambient light node. This attribute represents the radius of the light used when computing soft shadows. Higher radius values result in more extended soft shadows.
Return type: | float |
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.shadowRadius
number of shadow samples.
Derived from mel command maya.cmds.ambientLight
soft shadow
Derived from mel command maya.cmds.ambientLight
Sets the value of the “ambientShade” attribute of an ambient light node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.setAmbientShade
Sets the value of the “castSoftShadows” attribute of an ambient light node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.setCastSoftShadows
radius of the disc around the light
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
color of the light (0-1)
Derived from mel command maya.cmds.ambientLight
Derived from mel command maya.cmds.ambientLight
dither the shadowFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.ambientLight
Sets the value of the “shadowRadius” attribute of an ambient light node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnAmbientLight.setShadowRadius
number of shadow samples.
Derived from mel command maya.cmds.ambientLight
soft shadow
Derived from mel command maya.cmds.ambientLight