Node that specifies how texture coordinates are bound to shapes. More...
#include <Inventor/nodes/SoTextureCoordinateBinding.h>
Public Types | |
enum | Binding { PER_VERTEX = SbVertexAttributeBinding::PER_VERTEX, PER_VERTEX_INDEXED = SbVertexAttributeBinding::PER_VERTEX_INDEXED, DEFAULT = PER_VERTEX_INDEXED } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTextureCoordinateBinding () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFEnum | value |
Node that specifies how texture coordinates are bound to shapes.
This node specifies how the current texture coordinates are bound to vertex-based shapes that follow in the scene graph. If you are using multiple textures, note that this binding applies to the texture coordinates of the current texture unit (SoTextureUnit). The DEFAULT binding causes each shape to define its own default coordinates. These default coordinates typically cause a texture to be mapped across the whole surface of a shape.
value | PER_VERTEX_INDEXED |
SoMaterialBinding, SoNormalBinding, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateFunction, SoTextureUnit, SoVertexShape
SoTextureCoordinateBinding::SoTextureCoordinateBinding | ( | ) |
Creates a texture coordinate binding node with default settings.
static SoType SoTextureCoordinateBinding::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoTextureCoordinateBinding::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Specifies how to bind texture coordinates to shapes.
Use enum Binding. Default is PER_VERTEX_INDEXED.