CrystalSpace

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
[legend]
List of all members.

Public Member Functions

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

Public Attributes

csGenerateImageTexturetex
 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 239 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 244 of file gentrtex.h.


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