6 #include "VectorMath.h"
9 #include "IMeshUploadService.h"
11 #include "UnityCallbacks.h"
12 #include "QuantizedMeshSetChunkReader.h"
13 #include "Collision.h"
28 void UploadMesh(
const void* pVertexData,
int numOfVertices,
const void* pIndexData,
size_t indexDataSize, u32 numOfIndices,
const std::string& debugName,
const std::string& materialName,
const dv3& originEcef)
override;
30 void UploadMesh(
const std::vector<v3>& verts,
const std::vector<u16>& triListIndices,
const std::string& debugName,
const std::string& materialName,
const dv3& originEcef)
override;
31 void UploadMesh(
const Collision::CollisionSubMesh& submesh,
const std::string& debugName,
const std::string& materialName)
override;
32 void DeleteUploadedMesh(
const std::string&
id)
override;
34 void AddMesh(
const std::string& name)
override;
35 void DeleteMesh(
const std::string& name)
override;
45 void CopyIndicesToUnpackedMesh(
Unity::UnpackedMesh* mesh,
const void* pIndexData,
int indexCount);