Public API Reference

csGenerateImageValueFuncTex Class Reference

This class will generate a value using a texture. More...

#include <cstool/gentrtex.h>

Inheritance diagram for csGenerateImageValueFuncTex:

Inheritance graph

List of all members.

Public Member Functions

virtual float GetValue (float x, float y)
 get the value for location

Public Attributes

 the texture to use

Detailed Description

This class will generate a value using a texture.

The average of the rgb values will be returned.


Definition at line 252 of file gentrtex.h.

Member Function Documentation

virtual float csGenerateImageValueFuncTex::GetValue ( float  x,
float  y 
) [virtual]

get the value for location

Implements csGenerateImageValue.

Member Data Documentation

the texture to use

Definition at line 257 of file gentrtex.h.

The documentation for this class was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3