C4 Engine
C4 Engine API Documentation

Portal::GetWorldVertexArray

Defined in:  C4Portals.h
Returns the world-space vertex array defining the boundary of the portal.
Prototype

const Point3D *GetWorldVertexArray(voidconst;

Description
The GetWorldVertexArray function returns the world-space vertex array defining the boundary of the portal. The number of vertices can be retrieved by using the Node::GetObject function to obtain the associated PortalObject object and then calling the PortalObject::GetVertexCount function. The object-space vertex positions can be retrieved by calling the PortalObject::GetVertexArray function.
See Also

Point3D

Portal::GetWorldPlane

PortalObject::GetVertexCount

PortalObject::GetVertexArray