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 TypeMethodDescriptionvoidgetCenter(float[] val) Return the center value in the argument float[]floatReturn the rotation float value.voidgetScale(float[] val) Return the scale value in the argument float[]voidgetTranslation(float[] val) Return the translation value in the argument float[]voidsetCenter(float[] val) Set the center field.voidsetRotation(float val) Set the rotation field.voidsetScale(float[] val) Set the scale field.voidsetTranslation(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, 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
-
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:
getCenterin interfaceTextureTransform- Parameters:
val- The float[] to initialize.
-
setCenter
public void setCenter(float[] val) Set the center field.- Specified by:
setCenterin interfaceTextureTransform- Parameters:
val- The float[] to set.
-
getRotation
public float getRotation()Return the rotation float value.- Specified by:
getRotationin interfaceTextureTransform- Returns:
- The rotation float value.
-
setRotation
public void setRotation(float val) Set the rotation field.- Specified by:
setRotationin interfaceTextureTransform- Parameters:
val- The float to set.
-
getScale
public void getScale(float[] val) Return the scale value in the argument float[]- Specified by:
getScalein interfaceTextureTransform- Parameters:
val- The float[] to initialize.
-
setScale
public void setScale(float[] val) Set the scale field.- Specified by:
setScalein interfaceTextureTransform- Parameters:
val- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslationin interfaceTextureTransform- Parameters:
val- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslationin interfaceTextureTransform- Parameters:
val- The float[] to set.
-