SpotLight โ
A SpotLight is located at a point in space and is restricted to an angle, resulting in a cone-shaped area of illumination. The center of the cone points in the forward direction. The intensity of the light decreases with distance from the light, reaching zero at a certain distance specified by range. Light also decreases at the edges of the cone.
Related Nodes โ
New Properties โ
| Property | Type | Default | Access | Description |
|---|---|---|---|---|
castShadows | 1b | false | ๐ฉ๐ฅ | Enable shadow casting |
range | 1f | 50.0 | ๐ฉ๐ฅโถ๏ธ | Light range in units |
spotAngle | 1f | 50.0 | ๐ฉ๐ฅโถ๏ธ | Light cone angle in degrees |
spotBlend | 1f | 0.1 | ๐ฉ๐ฅโถ๏ธ | Softness of light edge |
Details
Type1b: boolean1c: color (integer)1i: integer1f: float1s: string2b: 2-component boolean vector2i: 2-component integer vector2f: 2-component float vector3b: 3-component boolean vector3i: 3-component integer vector3f: 3-component float vector
Access
๐ฉ : Property value can be read with FxNode.Get
๐ฅ : Property value can be changed with FxNode.Set
โ : Property value is read-only and can't be changed
โถ๏ธ : Property can be animated with FxAnimation
Inherited Properties โ
From Node โ
id layer order parent selected tag type typeName visible
From Object3D โ
liveRotate liveScale liveTranslate pivot rotate scale translate
From Light โ
color intensity shadowBias