PortalObject::SetVertexCount
Defined in:
Sets the number of vertices defining the boundary of the portal.
C4Portals.h
Prototype
void SetVertexCount(int32 count);
Parameters
count |
The new vertex count. This should be at least 3 and no greater than kMaxPortalVertexCount .
|
Description
The SetVertexCount
function sets the number of vertices defining the boundary of the portal. The maximum number of vertices that a portal may have is given by the kMaxPortalVertexCount
constant. The vertex positions can be set by calling the PortalObject::GetVertexArray
function.
See Also