FImportResult::GetFirstAssetOfClass

Helper to get the first asset of a certain class. Use when expecting a single asset of that class to be imported since the order isn't deterministic.

Choose your operating system:

Windows

macOS

Linux

References

Module

InterchangeEngine

Header

/Engine/Source/Runtime/Experimental/Interchange/Engine/Public/InterchangeManager.h

Include

#include "InterchangeManager.h"

Source

/Engine/Source/Runtime/Experimental/Interchange/Engine/Private/InterchangeManager.cpp

Syntax

UObject * GetFirstAssetOfClass
(
    UClass * InClass
) const

Remarks

Helper to get the first asset of a certain class. Use when expecting a single asset of that class to be imported since the order isn't deterministic.