Class SAITextureBackground
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.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
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAITextureBackground
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getBackTexture
(X3DNode[] val) Return the backTexture value in the argument X3DNode[]double
Return the bindTime double value.void
getBottomTexture
(X3DNode[] val) Return the bottomTexture value in the argument X3DNode[]void
getFrontTexture
(X3DNode[] val) Return the frontTexture value in the argument X3DNode[]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
getLeftTexture
(X3DNode[] val) Return the leftTexture value in the argument X3DNode[]int
Return the number of MFNode items in the backTexture field.int
Return the number of MFNode items in the bottomTexture field.int
Return the number of MFNode items in the frontTexture 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 MFNode items in the leftTexture field.int
Return the number of MFNode items in the rightTexture 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 MFNode items in the topTexture field.void
getRightTexture
(X3DNode[] val) Return the rightTexture value in the argument X3DNode[]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
getTopTexture
(X3DNode[] val) Return the topTexture value in the argument X3DNode[]float
Return the transparency float value.void
setBackTexture
(X3DNode[] val) Set the backTexture field.void
setBind
(boolean val) Set the set_bind field.void
setBottomTexture
(X3DNode[] val) Set the bottomTexture field.void
setFrontTexture
(X3DNode[] val) Set the frontTexture field.void
setGroundAngle
(float[] val) Set the groundAngle field.void
setGroundColor
(float[] val) Set the groundColor field.void
setLeftTexture
(X3DNode[] val) Set the leftTexture field.void
setRightTexture
(X3DNode[] val) Set the rightTexture field.void
setSkyAngle
(float[] val) Set the skyAngle field.void
setSkyColor
(float[] val) Set the skyColor field.void
setTopTexture
(X3DNode[] val) Set the topTexture 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
-
SAITextureBackground
public SAITextureBackground(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.
-
getNumBackTexture
public int getNumBackTexture()Return the number of MFNode items in the backTexture field.- Specified by:
getNumBackTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the backTexture field.
-
getBackTexture
Return the backTexture value in the argument X3DNode[]- Specified by:
getBackTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setBackTexture
Set the backTexture field.- Specified by:
setBackTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to set.
-
getNumFrontTexture
public int getNumFrontTexture()Return the number of MFNode items in the frontTexture field.- Specified by:
getNumFrontTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the frontTexture field.
-
getFrontTexture
Return the frontTexture value in the argument X3DNode[]- Specified by:
getFrontTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setFrontTexture
Set the frontTexture field.- Specified by:
setFrontTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to set.
-
getNumLeftTexture
public int getNumLeftTexture()Return the number of MFNode items in the leftTexture field.- Specified by:
getNumLeftTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the leftTexture field.
-
getLeftTexture
Return the leftTexture value in the argument X3DNode[]- Specified by:
getLeftTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setLeftTexture
Set the leftTexture field.- Specified by:
setLeftTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to set.
-
getNumRightTexture
public int getNumRightTexture()Return the number of MFNode items in the rightTexture field.- Specified by:
getNumRightTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the rightTexture field.
-
getRightTexture
Return the rightTexture value in the argument X3DNode[]- Specified by:
getRightTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setRightTexture
Set the rightTexture field.- Specified by:
setRightTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to set.
-
getNumBottomTexture
public int getNumBottomTexture()Return the number of MFNode items in the bottomTexture field.- Specified by:
getNumBottomTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the bottomTexture field.
-
getBottomTexture
Return the bottomTexture value in the argument X3DNode[]- Specified by:
getBottomTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setBottomTexture
Set the bottomTexture field.- Specified by:
setBottomTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to set.
-
getNumTopTexture
public int getNumTopTexture()Return the number of MFNode items in the topTexture field.- Specified by:
getNumTopTexture
in interfaceTextureBackground
- Returns:
- the number of MFNode items in the topTexture field.
-
getTopTexture
Return the topTexture value in the argument X3DNode[]- Specified by:
getTopTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] to initialize.
-
setTopTexture
Set the topTexture field.- Specified by:
setTopTexture
in interfaceTextureBackground
- Parameters:
val
- The X3DNode[] 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.
-