Class SAITextureBackground
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.environmentaleffects.SAITextureBackground
- All Implemented Interfaces:
TextureBackground,X3DBackgroundNode,X3DBindableNode,X3DChildNode,X3DNode
A concrete implementation of the TextureBackground node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAITextureBackground(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBackTexture(X3DNode[] val) Return the backTexture value in the argument X3DNode[]doubleReturn the bindTime double value.voidgetBottomTexture(X3DNode[] val) Return the bottomTexture value in the argument X3DNode[]voidgetFrontTexture(X3DNode[] val) Return the frontTexture value in the argument X3DNode[]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.voidgetLeftTexture(X3DNode[] val) Return the leftTexture value in the argument X3DNode[]intReturn the number of MFNode items in the backTexture field.intReturn the number of MFNode items in the bottomTexture field.intReturn the number of MFNode items in the frontTexture 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 MFNode items in the leftTexture field.intReturn the number of MFNode items in the rightTexture 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 MFNode items in the topTexture field.voidgetRightTexture(X3DNode[] val) Return the rightTexture value in the argument X3DNode[]voidgetSkyAngle(float[] val) Return the skyAngle value in the argument float[]voidgetSkyColor(float[] val) Return the skyColor value in the argument float[]voidgetTopTexture(X3DNode[] val) Return the topTexture value in the argument X3DNode[]floatReturn the transparency float value.voidsetBackTexture(X3DNode[] val) Set the backTexture field.voidsetBind(boolean val) Set the set_bind field.voidsetBottomTexture(X3DNode[] val) Set the bottomTexture field.voidsetFrontTexture(X3DNode[] val) Set the frontTexture field.voidsetGroundAngle(float[] val) Set the groundAngle field.voidsetGroundColor(float[] val) Set the groundColor field.voidsetLeftTexture(X3DNode[] val) Set the leftTexture field.voidsetRightTexture(X3DNode[] val) Set the rightTexture field.voidsetSkyAngle(float[] val) Set the skyAngle field.voidsetSkyColor(float[] val) Set the skyColor field.voidsetTopTexture(X3DNode[] val) Set the topTexture 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
-
SAITextureBackground
public SAITextureBackground(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.
-
getNumBackTexture
public int getNumBackTexture()Return the number of MFNode items in the backTexture field.- Specified by:
getNumBackTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the backTexture field.
-
getBackTexture
Return the backTexture value in the argument X3DNode[]- Specified by:
getBackTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setBackTexture
Set the backTexture field.- Specified by:
setBackTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to set.
-
getNumFrontTexture
public int getNumFrontTexture()Return the number of MFNode items in the frontTexture field.- Specified by:
getNumFrontTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the frontTexture field.
-
getFrontTexture
Return the frontTexture value in the argument X3DNode[]- Specified by:
getFrontTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setFrontTexture
Set the frontTexture field.- Specified by:
setFrontTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to set.
-
getNumLeftTexture
public int getNumLeftTexture()Return the number of MFNode items in the leftTexture field.- Specified by:
getNumLeftTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the leftTexture field.
-
getLeftTexture
Return the leftTexture value in the argument X3DNode[]- Specified by:
getLeftTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setLeftTexture
Set the leftTexture field.- Specified by:
setLeftTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to set.
-
getNumRightTexture
public int getNumRightTexture()Return the number of MFNode items in the rightTexture field.- Specified by:
getNumRightTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the rightTexture field.
-
getRightTexture
Return the rightTexture value in the argument X3DNode[]- Specified by:
getRightTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setRightTexture
Set the rightTexture field.- Specified by:
setRightTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to set.
-
getNumBottomTexture
public int getNumBottomTexture()Return the number of MFNode items in the bottomTexture field.- Specified by:
getNumBottomTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the bottomTexture field.
-
getBottomTexture
Return the bottomTexture value in the argument X3DNode[]- Specified by:
getBottomTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setBottomTexture
Set the bottomTexture field.- Specified by:
setBottomTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to set.
-
getNumTopTexture
public int getNumTopTexture()Return the number of MFNode items in the topTexture field.- Specified by:
getNumTopTexturein interfaceTextureBackground- Returns:
- the number of MFNode items in the topTexture field.
-
getTopTexture
Return the topTexture value in the argument X3DNode[]- Specified by:
getTopTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] to initialize.
-
setTopTexture
Set the topTexture field.- Specified by:
setTopTexturein interfaceTextureBackground- Parameters:
val- The X3DNode[] 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.
-