X3D PointLight
Tag Name
PointLight • Example
Tag Description
A light source located at a specified 3D position.
Component
Lighting
Tag Attributes
ambientIntensity
Field Type: SFFloat
Access Type: inputOutput
Default Value: 0
Value Range: 0, 1
Description: Sets the ambient emission from the light.
attenuation
Field Type: SFVec3f
Access Type: inputOutput
Default Value: 1 0 0
Value Range: 0, 1
Description: The amount of illumination that falls off over distance.
color
Field Type: SFColor
Access Type: inputOutput
Default Value: 1 1 1
Value Range: 0, 1
Description: Sets the spectral color properties of both the direct and ambient light emission as an RGB value.
global
Field Type: SFBool
Access Type: inputOutput
Default Value: TRUE
Value Range: ...
Description: Sets whether a light is global (illuminate all objects within their volume of lighting influence) or scoped (illuminate objects within their transformation hierarchy).
intensity
Field Type: SFFloat
Access Type: inputOutput
Default Value: 1
Value Range: 0, 1
Description: Sets the brightness of direct emission from the light.
location
Field Type: SFVec3f
Access Type: inputOutput
Default Value: 0 0 0
Value Range: -∞, ∞
Description: The origin of the light source.
on
Field Type: SFBool
Access Type: inputOutput
Default Value: TRUE
Value Range: ...
Description: Sets whether the source emits light.
radius
Field Type: SFFloat
Access Type: inputOutput
Default Value: 100
Value Range: 0, ∞
Description: Sets the radial extent that may be illuminated by the light source.
metadata
Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.