SoTextureCoordinateBinding Class Reference
[Textures]

Node that specifies how texture coordinates are bound to shapes. More...

#include <Inventor/nodes/SoTextureCoordinateBinding.h>

Inheritance diagram for SoTextureCoordinateBinding:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  Binding {
  PER_VERTEX = SoTextureCoordinateBindingElement::PER_VERTEX,
  PER_VERTEX_INDEXED = SoTextureCoordinateBindingElement::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

Detailed Description

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.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoMaterialBinding, SoNormalBinding, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateFunction, SoTextureUnit, SoVertexShape

See related examples:

TextureViewer3D


Member Enumeration Documentation

Binding value.

Enumerator:
PER_VERTEX 

Current texture coordinates are applied sequentially to vertices of shape.

PER_VERTEX_INDEXED 

Current texture coordinates are indexed per vertex.

DEFAULT 

Constructor & Destructor Documentation

SoTextureCoordinateBinding::SoTextureCoordinateBinding (  ) 

Creates a texture coordinate binding node with default settings.


Member Function Documentation

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.


Member Data Documentation

Specifies how to bind texture coordinates to shapes.

Use enum Binding. Default is PER_VERTEX_INDEXED.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/