Go to: Synopsis. Return value. Related. Flags. MEL examples.
pointLight [-decayRate int] [-discRadius linear] [-exclusive boolean] [-intensity float] [-name string] [-position linear linear linear] [-rgb float float float] [-rotation angle angle angle] [-shadowColor float float float] [-shadowDither float] [-shadowSamples int] [-softShadow boolean] [-useRayTraceShadows boolean]
pointLight is undoable, queryable, and editable.
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.string | Light shape name |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-decayRate(-d)
|
int
|
|||
|
||||
-discRadius(-drs)
|
linear
|
|||
|
||||
-exclusive(-exc)
|
boolean
|
|||
|
||||
-intensity(-i)
|
float
|
|||
|
||||
-name(-n)
|
string
|
|||
|
||||
-position(-pos)
|
linear linear linear
|
|||
|
||||
-rgb(-rgb)
|
float float float
|
|||
|
||||
-rotation(-rot)
|
angle angle angle
|
|||
|
||||
-shadowColor(-sc)
|
float float float
|
|||
|
||||
-shadowDither(-sd)
|
float
|
|||
|
||||
-shadowSamples(-sh)
|
int
|
|||
|
||||
-softShadow(-ss)
|
boolean
|
|||
|
||||
-useRayTraceShadows(-rs)
|
boolean
|
|||
|
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. |
pointLight;