MultiTexture transform node.
Action not implemented for this node.
More...
#include <Inventor/VRMLnodes/SoVRMLMultiTextureTransform.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLMultiTextureTransform () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFNode | textureTransform |
See the X3D Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
MultiTextureTransform supplies multiple texture transforms per appearance. This node can be used to set the texture transform for each of the different texture channels. MultiTextureTransform may appear in the scene graph wherever any TextureTransformNode appears.
If using MultiTexture with an IndexedFaceSet without a MultiTextureTransform node, texture coordinates for channel 0 are replicated along the other channels. Similarly, if there are too few entries in the textureTransform field, the last entry is replicated.
Example:
Shape { appearance Appearance { texture MultiTexture { mode [ "MODULATE" "MODULATE" ] texture [ ImageTexture { url "brick.jpg") ImageTexture { repeatS FALSE repeatT FALSE url "light_gray.png"} ] } textureTransform MultiTextureTransform { textureTransform [ TextureTransform {} TextureTransform { scale 0.5 0.5 } ] } } }
textureTransform | NULL |
metadata | NULL |
SoMFNode | set_textureTransform |
SoSFNode | set_metadata |
SoMFNode | textureTransform_changed |
SoSFNode | metadata_changed |
SoVRMLMultiTextureTransform::SoVRMLMultiTextureTransform | ( | ) |
Constructor.
static SoType SoVRMLMultiTextureTransform::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLMultiTextureTransform::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
Contains multiple texture transforms.