C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class GeometryLevel

Defined in:  C4GeometryLevel.h
The GeometryObject class encapsulates data for a single geometrical level of detail.
Definition

class GeometryLevel : public Packable

Member Functions
GeometryLevel::GetVertexCount Returns the number of vertices in a geometry level.
GeometryLevel::GetFaceCount Returns the number of faces in a geometry level.
GeometryLevel::GetArray Returns a pointer to one of the geometrical arrays stored in a geometry level.
GeometryLevel::GetArrayDescriptor Returns the descriptor for one of the geometrical arrays stored in a geometry level.
GeometryLevel::AllocateStorage Allocates memory for the contents of a geometry level.
GeometryLevel::CopyGeometryLevel Copies the contents of a geometry level.
GeometryLevel::CopyRigidGeometryLevel Copies the contents of a geometry level and removes skinning data.
GeometryLevel::TransformGeometryLevel Transforms the geometrical data in a geometry level.
GeometryLevel::TranslateGeometryLevel Translates the geometrical data in a geometry level.
GeometryLevel::ScaleGeometryLevel Scales the geometrical data in a geometry level.
GeometryLevel::InvertGeometryLevel Inverts the geometrical data in a geometry level.
GeometryLevel::WeldGeometryLevel Welds the surfaces a geometry level together.
GeometryLevel::MendGeometryLevel Mends the vertices in each surface of a geometry level.
GeometryLevel::UnifyGeometryLevel Unifies duplicate vertices in a geometry level.
GeometryLevel::BuildNormalArray Builds the array of normal vectors for a geometry level.
GeometryLevel::BuildTangentArray Builds the array of tangent vectors for a geometry level.
GeometryLevel::BuildPlaneArray Builds the array of unique planes for a geometry level.
GeometryLevel::BuildEdgeArray Builds the array of edges for a geometry level.
Constructor

GeometryLevel();

Description
Base Classes
Packable Geometry levels can be packed for storage in resources.
See Also
GeometryObject