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 は「元に戻す」が可能、「照会」が可能、「編集」が可能です。
既存ポイントライトのパラメータの編集、または新しいポイントライトの作成に使用します。デフォルトでは、新しいポイントライトが作成されます。string | ライト シェイプの名前 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-decayRate(-d)
|
int
|
![]() ![]() ![]() |
||
|
||||
-discRadius(-drs)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-exclusive(-exc)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-intensity(-i)
|
float
|
![]() ![]() ![]() |
||
|
||||
-name(-n)
|
string
|
![]() ![]() ![]() |
||
|
||||
-position(-pos)
|
linear linear linear
|
![]() ![]() ![]() |
||
|
||||
-shadowColor(-sc)
|
float float float
|
![]() ![]() ![]() |
||
|
||||
-shadowDither(-sd)
|
float
|
![]() ![]() ![]() |
||
|
||||
-shadowSamples(-sh)
|
int
|
![]() ![]() ![]() |
||
|
||||
-softShadow(-ss)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-rgb(-rgb)
|
float float float
|
![]() ![]() ![]() |
||
|
||||
-rotation(-rot)
|
angle angle angle
|
![]() ![]() ![]() |
||
|
||||
-useRayTraceShadows(-rs)
|
boolean
|
![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
pointLight;