man SoTextureCoordinate2 () - 2D texture coordinate node

NAME

SoTextureCoordinate2 - 2D texture coordinate node

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoTextureCoordinate2

SYNOPSIS

#include <Inventor/nodes/SoTextureCoordinate2.h> Fields from class SoTextureCoordinate2: c } c } point Methods from class SoTextureCoordinate2: c } c } SoTextureCoordinate2()

c } c } getClassTypeId() Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

This node defines a set of 2D 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, followed by the vertical coordinate, T.

FIELDS

c } c } point

Texture coordinate points.

METHODS

c } c } SoTextureCoordinate2()

Creates a texture coordinate node with default settings. c } c } getClassTypeId()

Returns type identifier for this class.

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction

Sets the current texture coordinates in the state.

FILE FORMAT/DEFAULTS

TextureCoordinate2 {
point	[  ]
}

SEE ALSO

SoTexture2, SoTextureCoordinateBinding, SoTextureCoordinateFunction, SoVertexShape