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 = 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

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:

Features3DTexture


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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/