Background
Background simulates ground and sky, using vertical arrays of wraparound color values, Background can also provide backdrop textures on all six sides. Background, Fog, NavigationInfo, TextureBackground and Viewpoint are bindable nodes.
Inheritance
Code
XML encoding
<Background backUrl='' bottomUrl='' frontUrl='' leftUrl='' rightUrl='' topUrl='' groundAngle='' groundColor='' skyAngle='' skyColor='0 0 0' groundTransparency='' skyTransparency='' transparency='0' panoramaAtFront='TRUE' clearStencilBitplanes='-1' isDefault='FALSE' description='' triggerName='Synchronize' logFeature='' />
Classic encoding
Background { backUrl [""] bottomUrl [""] frontUrl [""] leftUrl [""] rightUrl [""] topUrl [""] groundAngle [] groundColor [] skyAngle [] skyColor [0 0 0] groundTransparency [] skyTransparency [] transparency 0 panoramaAtFront TRUE clearStencilBitplanes -1 isDefault FALSE description "" triggerName "Synchronize" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
groundTransparency | MFFloat | inputOutput | [0, 1] | transparency values corresponding to the groundColors | ||
skyTransparency | MFFloat | inputOutput | [0, 1] | transparency values corresponding to the skyColors | ||
panoramaAtFront | SFBool | inputOutput | TRUE | future-option...sets the boxInside field of the underlying OpenSG-SkyBackground...which is never used anywhere!? | ||
clearStencilBitplanes | SFInt32 | inputOutput | -1 | Usually 0 is used to clear all stencil bitplanes (clear is deactivated if smaller zero). | ||
bind | XFAny | inputOnly | sending any event to this slot will bind/activate the Bindable | |||
isDefault | SFBool | initializeOnly | FALSE | indicates if the object is the default bindable or not (generated if the scene did not contain any Bindable of a missing Type (e.g. Viewpoint)) | ||
triggerName | SFString | initializeOnly | Synchronize | name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot. | ||
triggerSlot | SFTime | inputOnly | slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger. | |||
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 |