GeometryLevel::GetArray
Defined in: C4GeometryLevel.h
Returns a pointer to one of the geometrical arrays stored in a geometry level.
Prototype
void *GetArray(long index) const;
template <typename type> type *GetArray<float>(long index) const;
Description
The GetArray function and associated template function return a pointer to one of the geometrical arrays stored in a geometry level. Each of the functions returns a pointer representing the same address, but with a different type. Most arrays can only contain data of one type, but some can have different types for different geometries.
See Also
GeometryLevel::GetArrayDescriptor
|