cesium-native
0.41.0
|
#include <CesiumGltf/AccessorUtility.h>
Public Member Functions | |
std::array< int64_t, 3 > | operator() (std::monostate) |
template<typename T > | |
std::array< int64_t, 3 > | operator() (const AccessorView< T > &value) |
Public Attributes | |
int64_t | faceIndex |
int64_t | vertexCount |
int32_t | primitiveMode |
Visitor that retrieves the vertex indices from the given accessor type corresponding to a given face index. These indices are returned as an array of int64_ts. This should be initialized with the index of the face, the total number of vertices in the primitive, and the CesiumGltf::MeshPrimitive::Mode
of the primitive.
-1 is used to indicate errors retrieving the index, e.g., if the given index was out-of-bounds.
Definition at line 154 of file AccessorUtility.h.