The pointLight command is used to edit the parameters of existing pointLights, or to create new ones. The default behaviour is to create a new pointlight.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
decayRate (d) | int | ||
|
|||
discRadius (drs) | float | ||
|
|||
exclusive (exc) | bool | ||
|
|||
intensity (i) | float | ||
|
|||
name (n) | unicode | ||
|
|||
position (pos) | float, float, float | ||
|
|||
rgb (rgb) | float, float, float | ||
|
|||
rotation (rot) | float, float, float | ||
|
|||
shadowColor (sc) | float, float, float | ||
|
|||
shadowDither (sd) | float | ||
|
|||
shadowSamples (sh) | int | ||
|
|||
softShadow (ss) | bool | ||
|
|||
useRayTraceShadows (rs) | bool | ||
|
Derived from mel command maya.cmds.pointLight
Example:
import pymel.core as pm
pm.pointLight()
# Result: nt.PointLight(u'pointLightShape1') #