static bool IsMaterialIDUsedInScene ( const [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< class [IDatasmithScene](API\Runtime\DatasmithCore\IDatasmithScene) > & Scene, const [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< class [IDatasmithMaterialIDElement](API\Runtime\DatasmithCore\IDatasmithMaterialIDElement) > & MaterialElement )