Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iTerrainWrapper Struct Reference

This interface corresponds to the object in the engine that holds reference to the real iTerrainObject. More...

#include <terrain.h>

Inheritance diagram for iTerrainWrapper:

iBase List of all members.

Public Methods

virtual csTerrainWrapper* GetPrivateObject ()=0
 Ugly.

virtual iTerrainObject* GetTerrainObject ()=0
 Get the iTerrainObject.

virtual void SetTerrainObject (iTerrainObject *)=0
 Set the iTerrainObject.

virtual iObjectQueryObject ()=0
 Get the iObject for this terrain.

virtual void UpdateLighting (iLight **lights, int num_lights)=0
 Light object according to the given array of lights (i.e. More...


Detailed Description

This interface corresponds to the object in the engine that holds reference to the real iTerrainObject.


Member Function Documentation

void iTerrainWrapper::UpdateLighting ( iLight ** lights,
int num_lights ) [pure virtual]
 

Light object according to the given array of lights (i.e.

fill the vertex color array). No shadow calculation will be done. This is assumed to have been done earlier. This is a primitive lighting process based on the lights which hit one point of the sprite (usually the center). More elaborate lighting systems are possible but this will do for now.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000