UContentBrowserFileDataSource::CanPreviewItem

Query whether the given item is can be previewed, optionally providing error information if it cannot.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::CanPreviewItem()

UContentBrowserFileDataSource::CanPreviewItem()

References

Module

ContentBrowserFileDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Public/ContentBrowserFileDataSource.h

Include

#include "ContentBrowserFileDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Private/ContentBrowserFileDataSource.cpp

Syntax

virtual bool CanPreviewItem
(
    const FContentBrowserItemData & InItem,
    FText * OutErrorMsg
)

Remarks

Query whether the given item is can be previewed, optionally providing error information if it cannot.

Returns

True if the item can be previewed, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

OutErrorMessage

Optional error message to fill on failure.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss