ambientLight is undoable, queryable, and editable.
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.
Long name (short name) |
[argument types] |
Properties |
-edit(-e)
|
|
|
|
edit the parameters of an existing light
|
|
-query(-q)
|
|
|
|
Puts the command in query mode so that it will return the value of
the specified flag.
In query mode, this flag needs a value.
|
|
-ambientShade(-as)
|
float
|
 
|
|
ambientShade
In query mode, this flag needs a value.
|
|
-discRadius(-drs)
|
float
|
 
|
|
radius of the disc around the light
In query mode, this flag needs a value.
|
|
-intensity(-i)
|
float
|
 
|
|
intensity of the light (expressed as a percentage)
In query mode, this flag needs a value.
|
|
-rgb(-rgb)
|
float float float
|
 
|
|
color of the light (0-1)
In query mode, this flag needs a value.
|
|
-name(-n)
|
string
|
 
|
|
specify the name of the light
In query mode, this flag needs a value.
|
|
-useRayTraceShadows(-rs)
|
boolean
|
 
|
|
ray trace shadows
In query mode, this flag needs a value.
|
|
-shadowColor(-sc)
|
float float float
|
 
|
|
the shadow color
In query mode, this flag needs a value.
|
|
-softShadow(-ss)
|
boolean
|
 
|
|
soft shadow
In query mode, this flag needs a value.
|
|
-shadowSamples(-sh)
|
int
|
 
|
|
number of shadow samples.
In query mode, this flag needs a value.
|
|
-shadowDither(-sd)
|
float
|
 
|
|
dither the shadow
In query mode, this flag needs a value.
|
|