Interface X3DBackgroundNode
- All Superinterfaces:
X3DBindableNode
,X3DChildNode
,X3DNode
- All Known Subinterfaces:
Background
,TextureBackground
- All Known Implementing Classes:
Background
,TextureBackground
Abstract type from which all backgrounds inherit, also defining a background binding stack.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Provide double value in seconds from outputOnly SFTime field named bindTime.float[]
Provide array of float results unit axis, angle (in radians) within allowed range of [0,1.5708] from inputOutput MFFloat field named groundAngle.float[]
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named groundColor.boolean
Provide boolean value from outputOnly SFBool field named isBound.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float[]
Provide array of float results unit axis, angle (in radians) within allowed range of [0,3.1416] from inputOutput MFFloat field named skyAngle.float[]
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named skyColor.float
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named transparency.setGroundAngle
(float[] newValue) Accessor method to assign float array unit axis, angle (in radians) to inputOutput MFFloat field named groundAngle.setGroundColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput MFColor field named groundColor.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setSkyAngle
(float[] newValue) Accessor method to assign float array unit axis, angle (in radians) to inputOutput MFFloat field named skyAngle.setSkyColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput MFColor field named skyColor.setTransparency
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named transparency.
-
Method Details
-
getBindTime
double getBindTime()Provide double value in seconds from outputOnly SFTime field named bindTime.- Specified by:
getBindTime
in interfaceX3DBindableNode
- Returns:
- value of bindTime field
-
getGroundAngle
float[] getGroundAngle()Provide array of float results unit axis, angle (in radians) within allowed range of [0,1.5708] from inputOutput MFFloat field named groundAngle.- Returns:
- value of groundAngle field
-
setGroundAngle
Accessor method to assign float array unit axis, angle (in radians) to inputOutput MFFloat field named groundAngle.- Parameters:
newValue
- is new value for the groundAngle field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getGroundColor
float[] getGroundColor()Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named groundColor.- Returns:
- value of groundColor field
-
setGroundColor
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput MFColor field named groundColor.- Parameters:
newValue
- is new value for the groundColor field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsBound
boolean getIsBound()Provide boolean value from outputOnly SFBool field named isBound.- Specified by:
getIsBound
in interfaceX3DBindableNode
- Returns:
- value of isBound field
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DBindableNode
- Specified by:
getMetadata
in interfaceX3DChildNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceX3DBindableNode
- Specified by:
setMetadata
in interfaceX3DChildNode
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getSkyAngle
float[] getSkyAngle()Provide array of float results unit axis, angle (in radians) within allowed range of [0,3.1416] from inputOutput MFFloat field named skyAngle.- Returns:
- value of skyAngle field
-
setSkyAngle
Accessor method to assign float array unit axis, angle (in radians) to inputOutput MFFloat field named skyAngle.- Parameters:
newValue
- is new value for the skyAngle field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSkyColor
float[] getSkyColor()Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named skyColor.- Returns:
- value of skyColor field
-
setSkyColor
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput MFColor field named skyColor.- Parameters:
newValue
- is new value for the skyColor field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTransparency
float getTransparency()Provide float value within allowed range of [0,1] from inputOutput SFFloat field named transparency.- Returns:
- value of transparency field
-
setTransparency
Accessor method to assign float value to inputOutput SFFloat field named transparency.- Parameters:
newValue
- is new value for the transparency field.- Returns:
X3DBackgroundNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-