SoTextureCoordinateBinding — node that specifies how texture coordinates are bound to shapes
Contents
Action Behavior
SoGLRenderAction,SoCallbackAction
Sets the current texture coordinate binding type.
Description
This node specifies how the current texture coordinates are bound to vertex-based shapes that follow in
the scene graph. 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.
Fields
SoSFEnumvalue
Specifies how to bind texture coordinates to shapes.
File Format/Defaults
TextureCoordinateBinding{valuePER_VERTEX_INDEXED}Inherits From
SoBase > SoFieldContainer > SoNode > SoTextureCoordinateBinding
Methods
SoTextureCoordinateBinding()
Creates a texture coordinate binding node with default settings.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoTextureCoordinateBinding — node that specifies how texture coordinates are bound to shapes
See Also
SoMaterialBinding,SoNormalBinding,SoTexture2,SoTexture2Transform,SoTextureCoordinate2,SoTextureCoordinateFunction,SoVertexShapeSoTextureCoordinateBinding(3IV)()
Synopsis
#include<Inventor/nodes/SoTextureCoordinateBinding.h>enumBinding{SoTextureCoordinateBinding::PER_VERTEX
Current texture coordinates are applied sequentially to vertices of shape
SoTextureCoordinateBinding::PER_VERTEX_INDEXED
Current texture coordinates are indexed per vertex
}
Fields from class SoTextureCoordinateBinding:
SoSFEnumvalue
Methods from class SoTextureCoordinateBinding:
SoTextureCoordinateBinding()staticSoTypegetClassTypeId()
Methods from class SoNode:
voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)
Methods from class SoFieldContainer:
voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)
Methods from class SoBase:
voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const