------------------------------------------------------------------------------------------------ Executes the post processing step on the given imported data.
| 69 | // ------------------------------------------------------------------------------------------------ |
| 70 | // Executes the post processing step on the given imported data. |
| 71 | void CalcTangentsProcess::SetupProperties(const Importer *pImp) { |
| 72 | ai_assert(nullptr != pImp); |
| 73 | |
| 74 | // get the current value of the property |
| 75 | configMaxAngle = pImp->GetPropertyFloat(AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE, 45.f); |
| 76 | configMaxAngle = std::max(std::min(configMaxAngle, 45.0f), 0.0f); |
| 77 | configMaxAngle = AI_DEG_TO_RAD(configMaxAngle); |
| 78 | |
| 79 | configSourceUV = pImp->GetPropertyInteger(AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX, 0); |
| 80 | } |
| 81 | |
| 82 | // ------------------------------------------------------------------------------------------------ |
| 83 | // Executes the post processing step on the given imported data. |
nothing calls this directly
no test coverage detected