class counterpart of mel function directionalLight
The directionalLight command is used to edit the parameters of existing directionalLights, or to create new ones. The default behaviour is to create a new directionallight.
radius of the disc around the light
Derived from mel command maya.cmds.directionalLight
Derived from mel command maya.cmds.directionalLight
color of the light (0-1)
Derived from mel command maya.cmds.directionalLight
Retrieves the value of the “shadowAngle” attribute of a directional light node. This attribute represents an angular divergence from the direction vector of the light used to calculate soft shadows.
Return type: | float |
---|
Derived from api method maya.OpenMaya.MFnDirectionalLight.shadowAngle
dither the shadow
Derived from mel command maya.cmds.directionalLight
number of shadow samples.
Derived from mel command maya.cmds.directionalLight
soft 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.directionalLight
Retrieves the value of the “useLightPosition” attribute of a directional light. This attribute determines if the objects behind the light will cast shadows.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnDirectionalLight.useLightPosition
radius of the disc around the light
Derived from mel command maya.cmds.directionalLight
Derived from mel command maya.cmds.directionalLight
color of the light (0-1)
Derived from mel command maya.cmds.directionalLight
Sets the value of the “shadowAngle” attribute of a directional light node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDirectionalLight.setShadowAngle
dither the shadow
Derived from mel command maya.cmds.directionalLight
number of shadow samples.
Derived from mel command maya.cmds.directionalLight
soft 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.directionalLight
Sets the value of the “useLightPosition” attribute of a directional light.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDirectionalLight.setUseLightPosition