Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLComposedTextureNodeType

All Superinterfaces:
FrameStateListener, VRMLAppearanceChildNodeType, VRMLNode, VRMLNodeType, VRMLTextureNodeType
All Known Subinterfaces:
VRMLMultiTextureNodeType

public interface VRMLComposedTextureNodeType
extends VRMLTextureNodeType

Specifies a texture with multiple children textures.

Version:
$Revision: 1.2 $
Author:
Alan Hudson

Method Summary
 int getNumberTextures()
          Get the number of textures in this ComposedTexture node.
 void getTextures(int start, VRMLTextureNodeType[] texs)
          Get the textures which make up this composed textures..
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLTextureNodeType
addTextureListener, getCacheString, getTextureType, getYUp, removeTextureListener
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

getNumberTextures

public int getNumberTextures()
Get the number of textures in this ComposedTexture node.

Returns:
The number of active textures.

getTextures

public void getTextures(int start,
                        VRMLTextureNodeType[] texs)
Get the textures which make up this composed textures..

Parameters:
start - Where in the array to start filling in textures.
texs - The preallocated array to return texs in. Error if too small.

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium