Light
Base class for light nodes.
Inheritance
Code
XML encoding
<Light ambientIntensity='0' color='1 1 1' intensity='1' showProxyGeometry='FALSE' proxyGeometrySize='1 1 1' shadowIntensity='0' on='TRUE' logFeature='' />
Classic encoding
Light {
ambientIntensity 0
color 1 1 1
intensity 1
showProxyGeometry FALSE
proxyGeometrySize 1 1 1
shadowIntensity 0
on TRUE
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| ambientIntensity | SFFloat | inputOutput | 0 | [0, 1] | Brightness of ambient (nondirectional background) emission from the light. | |
| color | SFColor | inputOutput | 1 1 1 | color of light, applied to colors of objects. | ||
| intensity | SFFloat | inputOutput | 1 | [0, 1] | Brightness of direct emission from the light. | |
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
| on | SFBool | inputOutput | TRUE | Enables/disables this effector (e.g. light) | ||
| proxyGeometrySize | SFVec3f | inputOutput | 1 1 1 | scales proxy geometry | ||
| shadowIntensity | SFFloat | inputOutput | 0 | [0, 1] | intensity of the shadow; 0 is no shadow at all | |
| showProxyGeometry | SFBool | inputOutput | FALSE | toggle geometry at light position (use for visual debugging) |
