|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The listener interface for receiving notice that a texture has changed.
| Method Summary | |
void |
textureImageChanged(int len,
VRMLNodeType[] node,
java.nio.Buffer[] image,
java.lang.String[] url)
Invoked when all of the underlying images have changed. |
void |
textureImageChanged(int len,
VRMLNodeType[] node,
java.awt.image.RenderedImage[] image,
java.lang.String[] url)
Invoked when all of the underlying images have changed. |
void |
textureImageChanged(int idx,
VRMLNodeType node,
java.nio.Buffer image,
java.lang.String url)
Invoked when an underlying image has changed. |
void |
textureImageChanged(int idx,
VRMLNodeType node,
java.awt.image.RenderedImage image,
java.lang.String url)
Invoked when an underlying image has changed. |
void |
textureParamsChanged(int idx,
int[] mode,
int[] source,
int[] function,
float alpha,
float[] color)
Invoked when the texture parameters have changed. |
void |
textureParamsChanged(int idx,
int mode,
int source,
int function,
float alpha,
float[] color)
Invoked when the texture parameters have changed. |
| Method Detail |
public void textureImageChanged(int idx,
VRMLNodeType node,
java.awt.image.RenderedImage image,
java.lang.String url)
idx - The stage which changed.node - The texture which changed.image - The image for this texture.url - The url used to load this image.
public void textureImageChanged(int len,
VRMLNodeType[] node,
java.awt.image.RenderedImage[] image,
java.lang.String[] url)
len - The number of valid entries in the image array.node - The textures which changed.image - The images for this texture.url - The urls used to load these images.
public void textureImageChanged(int idx,
VRMLNodeType node,
java.nio.Buffer image,
java.lang.String url)
idx - The stage which changed.node - The texture which changed.image - The image as a data buffer for this texture.url - The url used to load this image.
public void textureImageChanged(int len,
VRMLNodeType[] node,
java.nio.Buffer[] image,
java.lang.String[] url)
len - The number of valid entries in the image array.node - The textures which changed.image - The images as data buffers for this texture.url - The urls used to load these images.
public void textureParamsChanged(int idx,
int mode,
int source,
int function,
float alpha,
float[] color)
idx - The texture index which changed.mode - The mode for the stage.source - The source for the stage.function - The function to apply to the stage values.alpha - The alpha value to use for modes requiring it.color - The color to use for modes requiring it. 3 Component color.
public void textureParamsChanged(int idx,
int[] mode,
int[] source,
int[] function,
float alpha,
float[] color)
idx - The texture index which changed.mode - The mode for the stage.source - The source for the stage.function - The function to apply to the stage values.alpha - The alpha value to use for modes requiring it.color - The color to use for modes requiring it. An array of 3 component colors.
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||