UDatasmithSceneElementBase::GetAllMaterials

Create an array with all the Materials in the Datasmith scene