TextureBackground
TextureBackground simulates ground and sky, using vertical arrays of wraparound color values, TextureBackground can also provide backdrop texture images on all six sides. Field names of child texture nodes are in alphabetic order: backTexture, bottomTexture, frontTexture, leftTexture, rightTexture, topTexture. Background, Fog, NavigationInfo, TextureBackground and Viewpoint are bindable nodes.
Inheritance
Code
XML encoding
<TextureBackground groundAngle='' groundColor='' skyAngle='' skyColor='0 0 0' groundTransparency='' skyTransparency='' transparency='0' panoramaAtFront='TRUE' clearStencilBitplanes='-1' isDefault='FALSE' description='' triggerName='Synchronize' logFeature='' />
Classic encoding
TextureBackground { 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 |
---|---|---|---|---|---|---|
backTexture | SFNode | inputOutput | SingleTexture | texture for the backside of the SkyBox | ||
bottomTexture | SFNode | inputOutput | SingleTexture | texture for the bottom of the SkyBox | ||
frontTexture | SFNode | inputOutput | SingleTexture | texture for the frontside of the SkyBox | ||
leftTexture | SFNode | inputOutput | SingleTexture | texture for the left side of the SkyBox | ||
rightTexture | SFNode | inputOutput | SingleTexture | texture for the right side of the SkyBox | ||
topTexture | SFNode | inputOutput | SingleTexture | texture for the top of the SkyBox | ||
groundAngle | MFFloat | inputOutput | [0, pi/2] | The angle values increase from 0.0 nadir (straight down) to /2=1.5708 (horizon). Warning: you must have one more groundColor value than groundAngle values. Warning: colors at groundAngle=0 are ignored. Interchange profile hint: this field may be ignored. | ||
groundColor | MFColor | inputOutput | Color of the ground at the various angles on the ground partial sphere. First value is color of ground at 0.0 radians representing the nadir (straight down). Warning: you must have one more groundColor value than groundAngle values. Interchange profile hint: this field may be ignored. | |||
skyAngle | MFFloat | inputOutput | [0, pi] | The angle values increase from 0.0 zenith (straight up) to /2=1.57 (horizon) to =3.14159 (nadir). Warning: you must have one more skyColor value than skyAngle values. Warning: colors at skyAngle=0 are ignored. Interchange profile hint: this field may be ignored. | ||
skyColor | MFColor | inputOutput | 0 0 0 | Color of the sky at various angles on the sky sphere. First value is color of sky at 0.0 radians representing the zenith (straight up). Warning: you must have one more skyColor value than skyAngle values. Interchange profile hint: only one color might be rendered, others can be ignored. | ||
transparency | SFFloat | inputOutput | 0 | [0, 1] | transparency applied to sky and ground spheres. | |
set_bind | SFBool | inputOnly | Sending event set_bind=true makes this node active. Sending event set_bind=false makes this node inactive. Thus setting set_bind to true/false will pop/push (enable/disable) this Bindable | |||
bindTime | SFTime | outputOnly | Event sent when node becomes active/inactive. | |||
isBound | SFBool | outputOnly | FALSE | Event true sent when node becomes active, event false sent when unbound by another node. | ||
description | SFString | initializeOnly | Text description or navigation hint to be displayed for this Bindable. Hint: make descriptions clear and readable. Warning: without description, Bindable (e.g. Viewpoint objs) can not be activated/deactivated with keyboard or gui messages (e.g. switched with PgUp bzw PgDn) | |||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |