MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / getPartition

Method getPartition

Source/ThirdParty/OpenFBX/ofbx.cpp:1186–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184 int getPartitionCount() const override { return (int)partitions.size(); }
1185
1186 GeometryPartition getPartition(int index) const override {
1187 if (index >= partitions.size()) return {nullptr, 0, 0, 0};
1188 return {
1189 partitions[index].polygons.data(),
1190 int(partitions[index].polygons.size()),
1191 partitions[index].max_polygon_triangles,
1192 partitions[index].triangles_count
1193 };
1194 }
1195
1196 template <typename T>
1197 bool postprocess(T& attr) {

Callers 2

ProcessMeshFunction · 0.80
ImportMeshFunction · 0.80

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected