Class SAIBackground
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAIBackground(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBackUrl(String[] val) Return the backUrl value in the argument String[]doubleReturn the bindTime double value.voidgetBottomUrl(String[] val) Return the bottomUrl value in the argument String[]voidgetFrontUrl(String[] val) Return the frontUrl value in the argument String[]voidgetGroundAngle(float[] val) Return the groundAngle value in the argument float[]voidgetGroundColor(float[] val) Return the groundColor value in the argument float[]booleanReturn the isBound boolean value.voidgetLeftUrl(String[] val) Return the leftUrl value in the argument String[]intReturn the number of MFString items in the backUrl field.intReturn the number of MFString items in the bottomUrl field.intReturn the number of MFString items in the frontUrl field.intReturn the number of MFFloat items in the groundAngle field.intReturn the number of MFColor items in the groundColor field.intReturn the number of MFString items in the leftUrl field.intReturn the number of MFString items in the rightUrl field.intReturn the number of MFFloat items in the skyAngle field.intReturn the number of MFColor items in the skyColor field.intReturn the number of MFString items in the topUrl field.voidgetRightUrl(String[] val) Return the rightUrl value in the argument String[]voidgetSkyAngle(float[] val) Return the skyAngle value in the argument float[]voidgetSkyColor(float[] val) Return the skyColor value in the argument float[]voidReturn the topUrl value in the argument String[]floatReturn the transparency float value.voidsetBackUrl(String[] val) Set the backUrl field.voidsetBind(boolean val) Set the set_bind field.voidsetBottomUrl(String[] val) Set the bottomUrl field.voidsetFrontUrl(String[] val) Set the frontUrl field.voidsetGroundAngle(float[] val) Set the groundAngle field.voidsetGroundColor(float[] val) Set the groundColor field.voidsetLeftUrl(String[] val) Set the leftUrl field.voidsetRightUrl(String[] val) Set the rightUrl field.voidsetSkyAngle(float[] val) Set the skyAngle field.voidsetSkyColor(float[] val) Set the skyColor field.voidSet the topUrl field.voidsetTransparency(float val) Set the transparency field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIBackground
public SAIBackground(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBindin interfaceX3DBindableNode- Parameters:
val- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTimein interfaceX3DBindableNode- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBoundin interfaceX3DBindableNode- Returns:
- The isBound boolean value.
-
getNumGroundAngle
public int getNumGroundAngle()Return the number of MFFloat items in the groundAngle field.- Specified by:
getNumGroundAnglein 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:
getGroundAnglein interfaceX3DBackgroundNode- Parameters:
val- The float[] to initialize.
-
setGroundAngle
public void setGroundAngle(float[] val) Set the groundAngle field.- Specified by:
setGroundAnglein interfaceX3DBackgroundNode- Parameters:
val- The float[] to set.
-
getNumGroundColor
public int getNumGroundColor()Return the number of MFColor items in the groundColor field.- Specified by:
getNumGroundColorin 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:
getGroundColorin interfaceX3DBackgroundNode- Parameters:
val- The float[] to initialize.
-
setGroundColor
public void setGroundColor(float[] val) Set the groundColor field.- Specified by:
setGroundColorin interfaceX3DBackgroundNode- Parameters:
val- The float[] to set.
-
getNumSkyAngle
public int getNumSkyAngle()Return the number of MFFloat items in the skyAngle field.- Specified by:
getNumSkyAnglein 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:
getSkyAnglein interfaceX3DBackgroundNode- Parameters:
val- The float[] to initialize.
-
setSkyAngle
public void setSkyAngle(float[] val) Set the skyAngle field.- Specified by:
setSkyAnglein interfaceX3DBackgroundNode- Parameters:
val- The float[] to set.
-
getNumSkyColor
public int getNumSkyColor()Return the number of MFColor items in the skyColor field.- Specified by:
getNumSkyColorin 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:
getSkyColorin interfaceX3DBackgroundNode- Parameters:
val- The float[] to initialize.
-
setSkyColor
public void setSkyColor(float[] val) Set the skyColor field.- Specified by:
setSkyColorin interfaceX3DBackgroundNode- Parameters:
val- The float[] to set.
-
getNumBackUrl
public int getNumBackUrl()Return the number of MFString items in the backUrl field.- Specified by:
getNumBackUrlin interfaceBackground- Returns:
- the number of MFString items in the backUrl field.
-
getBackUrl
Return the backUrl value in the argument String[]- Specified by:
getBackUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setBackUrl
Set the backUrl field.- Specified by:
setBackUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getNumFrontUrl
public int getNumFrontUrl()Return the number of MFString items in the frontUrl field.- Specified by:
getNumFrontUrlin interfaceBackground- Returns:
- the number of MFString items in the frontUrl field.
-
getFrontUrl
Return the frontUrl value in the argument String[]- Specified by:
getFrontUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setFrontUrl
Set the frontUrl field.- Specified by:
setFrontUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getNumLeftUrl
public int getNumLeftUrl()Return the number of MFString items in the leftUrl field.- Specified by:
getNumLeftUrlin interfaceBackground- Returns:
- the number of MFString items in the leftUrl field.
-
getLeftUrl
Return the leftUrl value in the argument String[]- Specified by:
getLeftUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setLeftUrl
Set the leftUrl field.- Specified by:
setLeftUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getNumRightUrl
public int getNumRightUrl()Return the number of MFString items in the rightUrl field.- Specified by:
getNumRightUrlin interfaceBackground- Returns:
- the number of MFString items in the rightUrl field.
-
getRightUrl
Return the rightUrl value in the argument String[]- Specified by:
getRightUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setRightUrl
Set the rightUrl field.- Specified by:
setRightUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getNumBottomUrl
public int getNumBottomUrl()Return the number of MFString items in the bottomUrl field.- Specified by:
getNumBottomUrlin interfaceBackground- Returns:
- the number of MFString items in the bottomUrl field.
-
getBottomUrl
Return the bottomUrl value in the argument String[]- Specified by:
getBottomUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setBottomUrl
Set the bottomUrl field.- Specified by:
setBottomUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getNumTopUrl
public int getNumTopUrl()Return the number of MFString items in the topUrl field.- Specified by:
getNumTopUrlin interfaceBackground- Returns:
- the number of MFString items in the topUrl field.
-
getTopUrl
Return the topUrl value in the argument String[]- Specified by:
getTopUrlin interfaceBackground- Parameters:
val- The String[] to initialize.
-
setTopUrl
Set the topUrl field.- Specified by:
setTopUrlin interfaceBackground- Parameters:
val- The String[] to set.
-
getTransparency
public float getTransparency()Return the transparency float value.- Specified by:
getTransparencyin interfaceX3DBackgroundNode- Returns:
- The transparency float value.
-
setTransparency
public void setTransparency(float val) Set the transparency field.- Specified by:
setTransparencyin interfaceX3DBackgroundNode- Parameters:
val- The float to set.
-