NURBSTextureChannel Class Reference
 
 
 
NURBSTextureChannel Class Reference

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


#include <surf_api.h>

Inheritance diagram for NURBSTextureChannel:
MaxHeapOperators

Class Description

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

Description:
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:

Friends

class  NURBSSurface
class  NURBSTextureChannelSet

Friends And Related Function Documentation