Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FFbxImporter
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FbxImporter.h |
| Include | #include "FbxImporter.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMaterialImport.cpp |
UMaterialInterface &42; FindExistingMaterialFromFbxMaterial
&40;
const FbxSurfaceMaterial & FbxMaterial,
EMaterialSearchLocation MaterialSearchLocation
&41;
Remarks
Tries to find an existing UnrealMaterial from the FbxMaterial, returns nullptr if could not find a material. The function will look for materials imported by the FbxFactory first, and then search into the asset database using the passed MaterialSearchLocation search scope. The UMaterialInterfaceFound, returns nullptr if no material was found.
Parameters
| Name | Description |
|---|---|
| FbxMaterial | The FbxMaterial used to search the UnrealMaterial |
| MaterialSearchLocation | The asset database search scope. |