UContentBrowserAssetContextMenuContext::FindContextWithAssets

Finds the Content Browser MenuContext from a Menu or Section, and returns the context provided there are some selected assets.

Unreal Engine C++ API Reference > Editor > ContentBrowser > UContentBrowserAssetContextMenuContext

References

   
Module ContentBrowser
Header /Engine/Source/Editor/ContentBrowser/Public/ContentBrowserMenuContexts.h
Include #include "ContentBrowserMenuContexts.h"
template<typename MenuOrSectionType>
static const [UContentBrowserAssetContextMenuContext](API\Editor\ContentBrowser\UContentBrowserAssetContextMenuC-) * FindContextWithAssets
(
    const MenuOrSectionType & MenuOrSection
)

Remarks

Finds the Content Browser MenuContext from a Menu or Section, and returns the context provided there are some selected assets.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library