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.
 
 
 
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
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 TypeMethodDescriptiondoubleProvide 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.booleanProvide 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.floatProvide 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:
 getBindTimein 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:
 getIsBoundin 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:
 getMetadatain interfaceX3DBindableNode- Specified by:
 getMetadatain interfaceX3DChildNode- Specified by:
 getMetadatain 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:
 setMetadatain interfaceX3DBindableNode- Specified by:
 setMetadatain interfaceX3DChildNode- Specified by:
 setMetadatain 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).
 
 -