proland::TerrainParticleLayer::TerrainInfo Struct Reference

Contains a SceneNode and its corresponding TerrainNode. More...

#include <TerrainParticleLayer.h>

List of all members.

Public Member Functions

 TerrainInfo (ptr< SceneNode > n, int id)
 Creates a new TerrainInfo.

Public Attributes

ptr< SceneNode > node
 A SceneNode.
ptr< TerrainNodeterrain
 The TerrainNode associated to node.
int id
 Current terrain id.

Detailed Description

Contains a SceneNode and its corresponding TerrainNode.

The SceneNode is used to determine on which terrain the particle is via the worldToLocal methods. The TerrainNode is used to determine if the particle is in the bounds of the terrain.

Constructor & Destructor Documentation

proland::TerrainParticleLayer::TerrainInfo::TerrainInfo ( ptr< SceneNode >  n,
int  id 
) [inline]

Creates a new TerrainInfo.

n a SceneNode.

Member Data Documentation

Current terrain id.

also used in particles to store the terrain on which they are located.

A SceneNode.

The TerrainNode associated to node.

Generated on Sat May 12 09:41:37 2012 for proland by  doxygen 1.6.1