IPhysics: SPhysicsTerrain Struct Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# SPhysicsTerrain Struct Reference

`#include <SPhysicsStructs.h>`

List of all members.

## Public Attributes

ITerrainSceneNode * | node
| Pointer to Irrlicht ITerrainSceneNode.
vector3df | scale

## Detailed Description

Terrain struct. Use this for creating terrain.

## Member Data Documentation

ITerrainSceneNode* SPhysicsTerrain::node

Pointer to Irrlicht ITerrainSceneNode.

vector3df SPhysicsTerrain::scale

Terrain scale. When IPhysics creates the terrain, it will apply this scale to the Irrlicht node as well as the Newton mesh, so you don't have to worry about that. However, you do need to ensure that the terrain scale is set to something, otherwise your terrain will be created with a scale of (0,0,0) and so will be invisible. If you want it to be the actual size of the mesh, set it to (1, 1, 1).

The documentation for this struct was generated from the following file:

- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/SPhysicsStructs.h