SoTextureCoordinate2(3IV)
SoTextureCoordinate2 (SoTexCoord2) - 2D texture coordinate node
As shipped in IRIX 6.5.30. Added in IRIX 6.5.22.
NAME SoTextureCoordinate2 (SoTexCoord2) - 2D texture coordinate node INHERITS FROM SoBase > SoFieldContainer > SoNode > SoTextureCoordinate2 SYNOPSIS #include <Inventor_c/nodes/SoTextureCoordinate2.h> typedef SoTextureCoordinate2 SoTexCoord2 Fields from class SoTextureCoordinate2: SoMFVec2f point Functions from class SoTextureCoordinate2: SoTextureCoordinate2 * SoTexCoord2Create() SoType SoTexCoord2GetClassTypeId() Functions from class SoNode: void SoTexCoord2SetOverride(SoTexCoord2 *this, SbBool state) SbBool SoTexCoord2IsOverride(const SoTexCoord2 *this) SoNode * SoTexCoord2Copy(const SoTexCoord2 *this, SbBool copyConnections = FALSE) SbBool SoTexCoord2AffectsState(const SoTexCoord2 *this) SoNode * SoTexCoord2GetByName(const char *name) int SoTexCoord2GetByNameList(const char *name, SoNodeList *list) Functions from class SoFieldContainer: void SoTexCoord2SetToDflts(SoTexCoord2 *this) SbBool SoTexCoord2HasDfltVals(const SoTexCoord2 *this) SbBool SoTexCoord2FldsAreEq(const SoTexCoord2 *this, const SoFieldContainer *fc) void SoTexCoord2CopyFieldVals(SoTexCoord2 *this, const SoFieldContainer *fc, SbBool copyConnections = FALSE) SbBool SoTexCoord2Set(SoTexCoord2 *this, const char *fieldDataString) void SoTexCoord2Get(SoTexCoord2 *this, SbString *fieldDataString) int SoTexCoord2GetFields(const SoTexCoord2 *this, SoFieldList *resultList) SoField * SoTexCoord2GetField(const SoTexCoord2 *this, const char *fieldName) SbBool SoTexCoord2GetFieldName(const SoTexCoord2 *this, const SoField *field, SbName *fieldName) SbBool SoTexCoord2IsNotifyEnabled(const SoTexCoord2 *this) SbBool SoTexCoord2EnableNotify(SoTexCoord2 *this, SbBool flag) Functions from class SoBase: void SoTexCoord2Ref(SoTexCoord2 *this) void SoTexCoord2Unref(const SoTexCoord2 *this) void SoTexCoord2UnrefNoDelete(const SoTexCoord2 *this) void SoTexCoord2Touch(SoTexCoord2 *this) SoType SoTexCoord2GetTypeId(const SoTexCoord2 *this) SbBool SoTexCoord2IsOfType(const SoTexCoord2 *this, SoType type) void SoTexCoord2SetName(SoTexCoord2 *this, const char *name) SbName SoTexCoord2GetName(const SoTexCoord2 *this) 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 SoMFVec2f point Texture coordinate points. FUNCTIONS SoTextureCoordinate2 * SoTexCoord2Create() Creates a texture coordinate node with default settings. SoType SoTexCoord2GetClassTypeId() 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