#include<kfbxmaterialconverter.h>
List of all members.
Detailed Description
This class provides functions to restructure the material and textures applied to geometries to fit the new materials system.
Definition at line69of filekfbxmaterialconverter.h.
Member Function Documentation
bool ConnectTexturesToMaterials | ( | KFbxScene& | pScene | ) | |
Moves textures in texture layer elements to connections on the corresponding material's color properties, for all geometries in the scene.
- Parameters:
| pScene | The scene whose geometries should be converted. |
- Returns:
- true on success, false otherwise
bool AssignTexturesToLayerElements | ( | KFbxScene& | pScene | ) | |
This is the reverse operation ofConnectTexturesToMaterials()Textures connected to Materials' color properties are stored in layer elements, and their connections to the color properties are broken.
- Parameters:
| pScene | The scene whose geometries should be converted. |
- Returns:
- true if all geometries were converted, false otherwise