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>
Inheritance⤴
- X3DNode(18)
- X3DChildNode(12)
- X3DBindableNode(5)
- X3DBackgroundNode (1)
- Background
Constructor⤴
-
X3DBackgroundNode(ctx)⤴
-
Constructor for X3DBackgroundNode
Parameters:
Name Type Argument Default Description ctx
Object <optional>
null context object, containing initial settings like namespace
Fields⤴
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 | X3DBindableNode |
![]() |
Pushes/pops the node on/from the top of the bindable stack | |
crossOrigin | SFString | "" |
![]() |
Cross Origin Mode | ||
description | SFString | "" | 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 | X3DBindableNode |
![]() |
||
metadata | SFNode | X3DMetadataObject | 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 |