Class SAIBackground
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.environmentaleffects.SAIBackground
- All Implemented Interfaces:
Background
,X3DBackgroundNode
,X3DBindableNode
,X3DChildNode
,X3DNode
A concrete implementation of the Background node interface
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIBackground
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getBackUrl
(String[] val) Return the backUrl value in the argument String[]double
Return the bindTime double value.void
getBottomUrl
(String[] val) Return the bottomUrl value in the argument String[]void
getFrontUrl
(String[] val) Return the frontUrl value in the argument String[]void
getGroundAngle
(float[] val) Return the groundAngle value in the argument float[]void
getGroundColor
(float[] val) Return the groundColor value in the argument float[]boolean
Return the isBound boolean value.void
getLeftUrl
(String[] val) Return the leftUrl value in the argument String[]int
Return the number of MFString items in the backUrl field.int
Return the number of MFString items in the bottomUrl field.int
Return the number of MFString items in the frontUrl field.int
Return the number of MFFloat items in the groundAngle field.int
Return the number of MFColor items in the groundColor field.int
Return the number of MFString items in the leftUrl field.int
Return the number of MFString items in the rightUrl field.int
Return the number of MFFloat items in the skyAngle field.int
Return the number of MFColor items in the skyColor field.int
Return the number of MFString items in the topUrl field.void
getRightUrl
(String[] val) Return the rightUrl value in the argument String[]void
getSkyAngle
(float[] val) Return the skyAngle value in the argument float[]void
getSkyColor
(float[] val) Return the skyColor value in the argument float[]void
Return the topUrl value in the argument String[]float
Return the transparency float value.void
setBackUrl
(String[] val) Set the backUrl field.void
setBind
(boolean val) Set the set_bind field.void
setBottomUrl
(String[] val) Set the bottomUrl field.void
setFrontUrl
(String[] val) Set the frontUrl field.void
setGroundAngle
(float[] val) Set the groundAngle field.void
setGroundColor
(float[] val) Set the groundColor field.void
setLeftUrl
(String[] val) Set the leftUrl field.void
setRightUrl
(String[] val) Set the rightUrl field.void
setSkyAngle
(float[] val) Set the skyAngle field.void
setSkyColor
(float[] val) Set the skyColor field.void
Set the topUrl field.void
setTransparency
(float val) Set the transparency field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIBackground
public SAIBackground(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBind
in interfaceX3DBindableNode
- Parameters:
val
- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTime
in interfaceX3DBindableNode
- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBound
in interfaceX3DBindableNode
- Returns:
- The isBound boolean value.
-
getNumGroundAngle
public int getNumGroundAngle()Return the number of MFFloat items in the groundAngle field.- Specified by:
getNumGroundAngle
in interfaceX3DBackgroundNode
- Returns:
- the number of MFFloat items in the groundAngle field.
-
getGroundAngle
public void getGroundAngle(float[] val) Return the groundAngle value in the argument float[]- Specified by:
getGroundAngle
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to initialize.
-
setGroundAngle
public void setGroundAngle(float[] val) Set the groundAngle field.- Specified by:
setGroundAngle
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to set.
-
getNumGroundColor
public int getNumGroundColor()Return the number of MFColor items in the groundColor field.- Specified by:
getNumGroundColor
in interfaceX3DBackgroundNode
- Returns:
- the number of MFColor items in the groundColor field.
-
getGroundColor
public void getGroundColor(float[] val) Return the groundColor value in the argument float[]- Specified by:
getGroundColor
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to initialize.
-
setGroundColor
public void setGroundColor(float[] val) Set the groundColor field.- Specified by:
setGroundColor
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to set.
-
getNumSkyAngle
public int getNumSkyAngle()Return the number of MFFloat items in the skyAngle field.- Specified by:
getNumSkyAngle
in interfaceX3DBackgroundNode
- Returns:
- the number of MFFloat items in the skyAngle field.
-
getSkyAngle
public void getSkyAngle(float[] val) Return the skyAngle value in the argument float[]- Specified by:
getSkyAngle
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to initialize.
-
setSkyAngle
public void setSkyAngle(float[] val) Set the skyAngle field.- Specified by:
setSkyAngle
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to set.
-
getNumSkyColor
public int getNumSkyColor()Return the number of MFColor items in the skyColor field.- Specified by:
getNumSkyColor
in interfaceX3DBackgroundNode
- Returns:
- the number of MFColor items in the skyColor field.
-
getSkyColor
public void getSkyColor(float[] val) Return the skyColor value in the argument float[]- Specified by:
getSkyColor
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to initialize.
-
setSkyColor
public void setSkyColor(float[] val) Set the skyColor field.- Specified by:
setSkyColor
in interfaceX3DBackgroundNode
- Parameters:
val
- The float[] to set.
-
getNumBackUrl
public int getNumBackUrl()Return the number of MFString items in the backUrl field.- Specified by:
getNumBackUrl
in interfaceBackground
- Returns:
- the number of MFString items in the backUrl field.
-
getBackUrl
Return the backUrl value in the argument String[]- Specified by:
getBackUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setBackUrl
Set the backUrl field.- Specified by:
setBackUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getNumFrontUrl
public int getNumFrontUrl()Return the number of MFString items in the frontUrl field.- Specified by:
getNumFrontUrl
in interfaceBackground
- Returns:
- the number of MFString items in the frontUrl field.
-
getFrontUrl
Return the frontUrl value in the argument String[]- Specified by:
getFrontUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setFrontUrl
Set the frontUrl field.- Specified by:
setFrontUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getNumLeftUrl
public int getNumLeftUrl()Return the number of MFString items in the leftUrl field.- Specified by:
getNumLeftUrl
in interfaceBackground
- Returns:
- the number of MFString items in the leftUrl field.
-
getLeftUrl
Return the leftUrl value in the argument String[]- Specified by:
getLeftUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setLeftUrl
Set the leftUrl field.- Specified by:
setLeftUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getNumRightUrl
public int getNumRightUrl()Return the number of MFString items in the rightUrl field.- Specified by:
getNumRightUrl
in interfaceBackground
- Returns:
- the number of MFString items in the rightUrl field.
-
getRightUrl
Return the rightUrl value in the argument String[]- Specified by:
getRightUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setRightUrl
Set the rightUrl field.- Specified by:
setRightUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getNumBottomUrl
public int getNumBottomUrl()Return the number of MFString items in the bottomUrl field.- Specified by:
getNumBottomUrl
in interfaceBackground
- Returns:
- the number of MFString items in the bottomUrl field.
-
getBottomUrl
Return the bottomUrl value in the argument String[]- Specified by:
getBottomUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setBottomUrl
Set the bottomUrl field.- Specified by:
setBottomUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getNumTopUrl
public int getNumTopUrl()Return the number of MFString items in the topUrl field.- Specified by:
getNumTopUrl
in interfaceBackground
- Returns:
- the number of MFString items in the topUrl field.
-
getTopUrl
Return the topUrl value in the argument String[]- Specified by:
getTopUrl
in interfaceBackground
- Parameters:
val
- The String[] to initialize.
-
setTopUrl
Set the topUrl field.- Specified by:
setTopUrl
in interfaceBackground
- Parameters:
val
- The String[] to set.
-
getTransparency
public float getTransparency()Return the transparency float value.- Specified by:
getTransparency
in interfaceX3DBackgroundNode
- Returns:
- The transparency float value.
-
setTransparency
public void setTransparency(float val) Set the transparency field.- Specified by:
setTransparency
in interfaceX3DBackgroundNode
- Parameters:
val
- The float to set.
-