Friends

NURBSTextureChannel Class Reference

This reference page is linked to from the following overview topics: NURBS Texture Mapping.


Search for all occurrences

Detailed Description

See also:
Class NURBSTextureSurface, Class NURBSTextureChannelSet, Class NURBSSurface, Class Point2.

Description:
This class is available in release 3.0 and later only.

This class holds the data associated with a single texture channel. This includes the NURBSTextureSurface, texture vertices, channel number, tiling, offset, and rotation settings. The tiling, offset and angle values are applied after the texture surface is applied. This gives the user more control of the mapping.
Data Members:
private:

int mChannel;

The UV coordinates channel. This value can range from 0 to 98. A single surface can use up to 99 texture channels.

BOOL mGenUVs;

TRUE if the generate UV setting is on for this channel; otherwise FALSE.

Point2 mTexUVs[4];

The texture vertices (UV coordinates).

float mUTile;

The U tiling.

float mVTile;

The V tiling.

float mUOffset;

The U offset.

float mVOffset;

The V offset.

float mAngle;

The rotation angle in radians.

NURBSTextureSurface mTexSurface;

The texture surface associated this channel.
private:

#include <surf_api.h>

Inheritance diagram for NURBSTextureChannel:
Inheritance graph
[legend]

List of all members.

Friends

class  NURBSSurface
class  NURBSTextureChannelSet

Friends And Related Function Documentation

friend class NURBSSurface [friend]
friend class NURBSTextureChannelSet [friend]

NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel
NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel NURBSTextureChannel