MCPcopy Create free account
hub / github.com/assimp/assimp / aiGetMaterialUVTransform

Function aiGetMaterialUVTransform

code/Material/MaterialSystem.cpp:296–303  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------ Get a aiUVTransform (5 floats) from the material

Source from the content-addressed store, hash-verified

294// ------------------------------------------------------------------------------------------------
295// Get a aiUVTransform (5 floats) from the material
296aiReturn aiGetMaterialUVTransform(const aiMaterial *pMat,
297 const char *pKey,
298 unsigned int type,
299 unsigned int index,
300 aiUVTransform *pOut) {
301 unsigned int iMax = 5;
302 return aiGetMaterialFloatArray(pMat, pKey, type, index, reinterpret_cast<ai_real *>(pOut), &iMax);
303}
304
305// ------------------------------------------------------------------------------------------------
306// Get a string from the material

Callers

nothing calls this directly

Calls 1

aiGetMaterialFloatArrayFunction · 0.85

Tested by

no test coverage detected