IAssetFactoryInterface::GetAssetDataFromElementHandle

Given an [FTypedElementHandle](API\Runtime\TypedElementFramework\Elements\Framework\FTypedElementHandle), attempt to resolve the handle to the [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) which may have placed it.

Unreal Engine C++ API Reference > Editor > EditorFramework > Factories > IAssetFactoryInterface

  • IAssetFactoryInterface::GetAssetDataFromElementHandle()

References

   
Module EditorFramework
Header /Engine/Source/Editor/EditorFramework/Public/Factories/AssetFactoryInterface.h
Include #include "Factories/AssetFactoryInterface.h"
[FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) GetAssetDataFromElementHandle
(
    const [FTypedElementHandle](API\Runtime\TypedElementFramework\Elements\Framework\FTypedElementHandle) & InHandle
)

Remarks

Given an FTypedElementHandle, attempt to resolve the handle to the FAssetData which may have placed it. The FAssetData may be a wrapped type, like a static mesh component component inside a static mesh actor. the FAssetData which corresponds to the placed FTypedElementHandle. The returned FAssetData may be invalid.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library