------------------------------------------------------------------------------------------------ Setup configuration properties for the loader
| 182 | // ------------------------------------------------------------------------------------------------ |
| 183 | // Setup configuration properties for the loader |
| 184 | void UnrealImporter::SetupProperties(const Importer *pImp) { |
| 185 | // The |
| 186 | // AI_CONFIG_IMPORT_UNREAL_KEYFRAME option overrides the |
| 187 | // AI_CONFIG_IMPORT_GLOBAL_KEYFRAME option. |
| 188 | mConfigFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_UNREAL_KEYFRAME, -1); |
| 189 | if (static_cast<unsigned int>(-1) == mConfigFrameID) { |
| 190 | mConfigFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_GLOBAL_KEYFRAME, 0); |
| 191 | } |
| 192 | |
| 193 | // AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS, default is true |
| 194 | mConfigHandleFlags = (0 != pImp->GetPropertyInteger(AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS, 1)); |
| 195 | } |
| 196 | |
| 197 | // ------------------------------------------------------------------------------------------------ |
| 198 | // Imports the given file into the given scene structure. |
nothing calls this directly
no test coverage detected