Node: X3DBackgroundNode

X3D: 3.3
Component: EnvironmentalEffects
fully implemented

Quick Links

➨ Fields

X3DBackgroundNode is the abstract type from which all backgrounds inherit. X3DBackgroundNode is a bindable node that, when bound, defines the panoramic background for the scene.

HTML Encoding and Default Values

<X3DBackgroundNode bind='false' crossOrigin='""' description='""' groundAngle='[]' groundColor='(0,0,0)' isActive='false' metadata='X3DMetadataObject' skyAngle='[]' skyColor='(0,0,0)' transparency='0/1' ></X3DBackgroundNode>



These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
bind SFBool false Core/X3DBindableNode Pushes/pops the node on/from the top of the bindable stack
crossOrigin SFString "" Cross Origin Mode
description SFString "" Core/X3DBindableNode Description of the bindable node
groundAngle MFFloat [] [0, pi] Angle of the ground Multiple values are possible
groundColor MFColor (0,0,0) [0,1] Color of the ground Multiple color values are possible. Define 1 more color than the number of ground angles.
isActive SFBool false Core/X3DBindableNode
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
skyAngle MFFloat [] [0, pi] Angle of the sky Multiple values are possible
skyColor MFColor (0,0,0) [0,1] Color of the sky Multiple color values are possible. Define 1 more color than the number of sky angles.
transparency SFFloat 0/1 [0,1] Transparency of the background