Class SAITextureTransform
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.texturing.SAITextureTransform
- All Implemented Interfaces:
TextureTransform
,X3DAppearanceChildNode
,X3DNode
,X3DTextureTransformNode
A concrete implementation of the TextureTransform node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAITextureTransform
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getCenter
(float[] val) Return the center value in the argument float[]float
Return the rotation float value.void
getScale
(float[] val) Return the scale value in the argument float[]void
getTranslation
(float[] val) Return the translation value in the argument float[]void
setCenter
(float[] val) Set the center field.void
setRotation
(float val) Set the rotation field.void
setScale
(float[] val) Set the scale field.void
setTranslation
(float[] val) Set the translation field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAITextureTransform
public SAITextureTransform(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node
-nodeFactory
-fieldFactory
-queue
-
-
-
Method Details
-
getCenter
public void getCenter(float[] val) Return the center value in the argument float[]- Specified by:
getCenter
in interfaceTextureTransform
- Parameters:
val
- The float[] to initialize.
-
setCenter
public void setCenter(float[] val) Set the center field.- Specified by:
setCenter
in interfaceTextureTransform
- Parameters:
val
- The float[] to set.
-
getRotation
public float getRotation()Return the rotation float value.- Specified by:
getRotation
in interfaceTextureTransform
- Returns:
- The rotation float value.
-
setRotation
public void setRotation(float val) Set the rotation field.- Specified by:
setRotation
in interfaceTextureTransform
- Parameters:
val
- The float to set.
-
getScale
public void getScale(float[] val) Return the scale value in the argument float[]- Specified by:
getScale
in interfaceTextureTransform
- Parameters:
val
- The float[] to initialize.
-
setScale
public void setScale(float[] val) Set the scale field.- Specified by:
setScale
in interfaceTextureTransform
- Parameters:
val
- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslation
in interfaceTextureTransform
- Parameters:
val
- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslation
in interfaceTextureTransform
- Parameters:
val
- The float[] to set.
-