Urho3D::HeightfieldData Struct Reference

Heightfield geometry data. More...

#include <CollisionShape.h>

Inheritance diagram for Urho3D::HeightfieldData:
Collaboration diagram for Urho3D::HeightfieldData:

Public Member Functions

 HeightfieldData (Terrain *terrain, unsigned lodLevel)
 Construct from a terrain.
 ~HeightfieldData ()
 Destruct. Free geometry data.

Public Attributes

SharedArrayPtr< float > heightData_
 Height data. On LOD level 0 the original height data will be used.
Vector3 spacing_
 Vertex spacing.
IntVector2 size_
 Heightmap size.
float minHeight_
 Minimum height.
float maxHeight_
 Maximum height.

Detailed Description

Heightfield geometry data.

The documentation for this struct was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Physics/CollisionShape.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Physics/CollisionShape.cpp