CrystalSpace

Public API Reference

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

csGenerateImageValueFuncTex Class Reference

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

#include <gentrtex.h>

Inheritance diagram for csGenerateImageValueFuncTex:

csGenerateImageValue List of all members.

Public Methods

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


Public Attributes

csGenerateImageTexture * tex
 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 235 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

csGenerateImageTexture* csGenerateImageValueFuncTex::tex
 

the texture to use

Definition at line 240 of file gentrtex.h.


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