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

Method SetupProperties

code/AssetLib/Irr/IRRLoader.cpp:106–116  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

104
105// ------------------------------------------------------------------------------------------------
106void IRRImporter::SetupProperties(const Importer *pImp) {
107 // read the output frame rate of all node animation channels
108 fps = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_IRR_ANIM_FPS, 100);
109 if (fps < 10.) {
110 ASSIMP_LOG_ERROR("IRR: Invalid FPS configuration");
111 fps = 100;
112 }
113
114 // AI_CONFIG_FAVOUR_SPEED
115 configSpeedFlag = (0 != pImp->GetPropertyInteger(AI_CONFIG_FAVOUR_SPEED, 0));
116}
117
118// ------------------------------------------------------------------------------------------------
119// Build a mesh that consists of a single squad (a side of a skybox)

Callers

nothing calls this directly

Calls 1

GetPropertyIntegerMethod · 0.45

Tested by

no test coverage detected