XFuUVManipulator class Reference

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# XFuUVManipulator Class Reference

Collection of UV coordinate generation routines. More...

`#include <XFuUVManipulator.h>`

List of all members.

## Static Public Member Functions

void | generateEnvmapCoordinates (XFcGLVertexBuffer *aVertexBuffer, XFcGL *aGL)
| Generates environment mapping coordinates.

## Detailed Description

Collection of UV coordinate generation routines.

Definition at line 19 of file XFuUVManipulator.h.

## Member Function Documentation

void XFuUVManipulator::generateEnvmapCoordinates | ( | XFcGLVertexBuffer * | aVertexBuffer,
|  | XFcGL * | aGL
| ) | `[static]`

Generates environment mapping coordinates.

Overwrites the UV coordinates of the vertex buffer for 'environment mapping' effect. Fetches current matrices from the GL. The vertex buffer must be of type (XFCGLVF_XYZ | XFCGLVF_NORMAL | XFCGLVF_DIFFUSECOLOR | XFCGLVF_TEXTURE1). If the type is not correct or locking fails, the function doesn't do anything.

Definition at line 15 of file XFuUVManipulator.cpp.

The documentation for this class was generated from the following files:

- XFuUVManipulator.h
- XFuUVManipulator.cpp

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch