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