Class SAITextureTransform
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.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
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAITextureTransform
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) 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.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
-
SAITextureTransform
public SAITextureTransform(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
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.
-