#include <genericobject.h>
Public Member Functions | |
| LilithObject () | |
| Construct an object that points to nothing. | |
| LilithObject (TerrainMesh *tmesh, const grinliz::Vector3F &intersect, float distance) | |
| Construct an object that references a location on the terrain. | |
| LilithObject (Mesh *mesh, const grinliz::Vector3F &intersect, float distance) | |
| Construct an object that references a location on a Mesh. | |
| LilithObject (PathSurfaceInstance *psi, const grinliz::Vector3F &intersect, float distance) | |
| Construct an object that references a pathable building surfaces (PSI). | |
| grinliz::Vector3F | Intersection () const |
| "Intersection" is the point on the object that this LilithObject refers to. | |
| float | X () const |
| Convenience access to the Intersection point. | |
| float | Y () const |
| Convenience access to the Intersection point. | |
| float | Z () const |
| Convenience access to the Intersection point. | |
| const std::string & | Description () const |
| Text description of the object. | |
| TerrainMesh * | ToTerrain () const |
| Returns a pointer to the Terrain, if this is a terrain object. | |
| Mesh * | ToMesh () const |
| PathSurfaceInstance * | ToPSI () const |
| float | Distance () const |
| If the LilithObject was constructed as a distance from some other point, this will be >0. | |
| Mesh* lilith3d::LilithObject::ToMesh | ( | ) | const [inline] |
| PathSurfaceInstance* lilith3d::LilithObject::ToPSI | ( | ) | const [inline] |
Returns a pointer to a path surface if this references a path surface.
1.5.1-p1