|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::Portal:

Public Member Functions | |
| Portal () | |
| Portal (const char *name) | |
| Maths::Vec3f | normal () const |
| unsigned int | vertexCount () const |
| Utils::Result | getVertices (Maths::Vec3f *v) const |
| Utils::Result | setPolygon (unsigned int count, const Maths::Vec3f *v, const Maths::Vec3f &normal) |
Static Public Member Functions | |
| Portal | create (const char *name, const Database &db=Database()) |
| Portal | find (const char *name) |
| ClassType | classType () |
| Portal | cast (const ObjectBase &) |
The Portal object defines a polygon within a zone which is used by the PortalInstance object to connect up neighbouring zones.
|
|
Create a null portal reference. |
|
|
Search the currently attached databases for a portal with the given name. |
|
|
If the object referenced by
Reimplemented from Q::Geom. |
|
|
Return the type for this class. |
|
||||||||||||
|
Create a new portal named |
|
|
Search the currently attached databases for a portal with the given name and return that object, if it exists. |
|
|
Return the vertices for the portal polygon. The array |
|
|
Return the normal vector for the portal polygon. |
|
||||||||||||||||
|
Set the portal's polygon. |
|
|
Return the number of vertices in the portal polygon. |
|
|
|
Qube Software Limited © 2000-2004
|
|