3D texture coordinate node. More...
#include <Inventor/nodes/SoTextureCoordinate3.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTextureCoordinate3 () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | point |
SoSFBool | forceSending |
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.
point | [ ] |
forceSending | FALSE |
SoTexture3, SoTextureCoordinateBinding, SoTextureCoordinateFunction, SoVertexProperty, SoVertexShape
SoTextureCoordinate3::SoTextureCoordinate3 | ( | ) |
Creates a texture coordinate node with default settings.
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.
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.3Texture coordinate points.