PortalObject::GetVertexArray
Defined in:
Returns the object-space vertex array defining the boundary of the portal.
C4Portals.h
Prototype
Point3D *GetVertexArray(void);
const Point3D *GetVertexArray(void) const;
Description
The GetVertexArray
function returns the object-space vertex array defining the boundary of the portal. The number of vertices in the array is returned by the PortalObject::GetVertexCount
function.To specify the vertex array for a portal, the
PortalObject::SetVertexCount
function should be called to set the number of vertices, and then the positions should be stored in the array returned by the GetVertexArray
function. All of the portal's vertices should lie in the x-y plane; that is, each z coordinate should be 0.0.
See Also