Mesh::GetArray
Defined in:
Returns a pointer to one of the geometrical arrays stored in a mesh.
C4Mesh.h
Prototype
void *GetArray(int32 index) const;
template <typename type> type *GetArray<float>(int32 index) const;
Description
The GetArray
function and associated template function return a pointer to one of the geometrical arrays stored in a mesh. 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