Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLTexture3DNodeType

All Superinterfaces:
FrameStateListener, VRMLAppearanceChildNodeType, VRMLNode, VRMLNodeType, VRMLTextureNodeType
All Known Implementing Classes:
BaseTexture3DNode

public interface VRMLTexture3DNodeType
extends VRMLTextureNodeType

Specifies a 3D texture for associated geometry.

3D (or Volume) Textures work with an extra dimension to normal. This interface allows access to all the extra information that is associated with that extra dimension.

Version:
$Revision: 1.2 $
Author:
Justin Couch

Method Summary
 int getDepth()
          Get the depth of the texture.
 boolean getRepeatR()
          Get the value of field repeatR.
 boolean getRepeatS()
          Get the value of field repeatS.
 boolean getRepeatT()
          Get the value of field repeatT.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLTextureNodeType
addTextureListener, getCacheString, getTextureType, removeTextureListener
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, 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

getDepth

int getDepth()
Get the depth of the texture. This is the number of 2D slices that are provided (by the user) and should always be a multiple of 2.

Returns:
A positive multiple of 2 or zero if none defined.

getRepeatS

boolean getRepeatS()
Get the value of field repeatS. The field is not writable. Default value is true.

Returns:
The current value of repeatS

getRepeatT

boolean getRepeatT()
Get the value of field repeatT. The field is not writable. Default value is true.

Returns:
The current value of repeatT

getRepeatR

boolean getRepeatR()
Get the value of field repeatR. The field is not writable. Default value is true.

Returns:
The current value of repeatR

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium