|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface X3DTextureTransform2DNode
Defines a 2D transformation that is applied to a texture.
| Method Summary | |
|---|---|
void |
getCenter(float[] position)
Get the value of the current center position. |
float |
getRotation()
Get the value of the current center position. |
void |
getScale(float[] scale)
Get the value of the current scale applied to the texture. |
void |
getTranslation(float[] trans)
Get the value of the current translation. |
void |
setCenter(float[] position)
Set the center to a new position. |
void |
setRotation(float angle)
Set the rotation of the texture to a new value. |
void |
setScale(float[] scale)
Set the scale amount to a new value. |
void |
setTranslation(float[] trans)
Set the translation value of the texture to a new position. |
| Methods inherited from interface org.web3d.x3d.sai.X3DNode |
|---|
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata |
| Method Detail |
|---|
void getCenter(float[] position)
position - The array to copy the position intovoid setCenter(float[] position)
position - The new value to usefloat getRotation()
void setRotation(float angle)
angle - The new value to usevoid getScale(float[] scale)
scale - The array to copy the scale intovoid setScale(float[] scale)
scale - The new value to usevoid getTranslation(float[] trans)
trans - The array to copy the position intovoid setTranslation(float[] trans)
trans - The new value to use
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||