SoTextureCoordinate3 Class Reference

VSG extension 3D texture coordinate node. More...

#include <Inventor/nodes/SoTextureCoordinate3.h>

Inheritance diagram for SoTextureCoordinate3:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoTextureCoordinate3 ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFVec3f point
SoSFBool forceSending

Detailed Description

VSG extension 3D texture coordinate node.

This node defines a set of 3D coordinates to be used to map textures to subsequent vertex-based shapes (those derived from SoVertexShape). It replaces the current texture coordinates in the rendering state for the shapes to use.

The current texture coordinate binding (see SoTextureCoordinateBinding) determines how texture coordinates are mapped to vertices of shapes. An alternative to using explicit texture coordinates is to generate them using a function; see SoTextureCoordinateFunction.

Texture coordinates range from 0 to 1 across the texture. The horizontal coordinate, called S, is specified first, then the vertical coordinate, T, and finally the depth coordinate, R.




SoTexture3, SoTextureCoordinateBinding, SoTextureCoordinateFunction, SoVertexProperty, SoVertexShape

See related examples:


Constructor & Destructor Documentation

SoTextureCoordinate3::SoTextureCoordinate3 (  ) 

Creates a texture coordinate node with default settings.

Member Function Documentation

static SoType SoTextureCoordinate3::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoTextureCoordinate3::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

Member Data Documentation

Forces the texture coordinates to be sent to OpenGL even if no texture is bound.

Default is FALSE. The default value can be set using the environment variable OIV_FORCE_TEX_COORD_SENDING. See SoPreferences.

NOTE: field available since Open Inventor 5.0.3

Texture coordinate points.

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.