Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::AssetBrowser::AssetBrowserPreviewRequest Class Reference

Preview the currently selected Asset in a PreviewFrame. More...

#include <AssetBrowserBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void PreviewAsset (const AzToolsFramework::AssetBrowser::AssetBrowserEntry *selectedEntry)
 
virtual void ClearPreview ()
 Clears the asset browser inspector panel.
 
virtual bool PreviewSceneSettings (const AzToolsFramework::AssetBrowser::AssetBrowserEntry *selectedEntry)
 Preview the selected entry in the scene settings window, returns true if successful.
 
virtual QMainWindow * GetSceneSettings ()
 Opens and returns the scene settings window.
 
virtual bool SaveBeforeClosing ()
 return true if the asset browser inspector panel has unsaved changes and must save before closing
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 

Detailed Description

Preview the currently selected Asset in a PreviewFrame.

Member Function Documentation

◆ PreviewAsset()

virtual void AzToolsFramework::AssetBrowser::AssetBrowserPreviewRequest::PreviewAsset ( const AzToolsFramework::AssetBrowser::AssetBrowserEntry selectedEntry)
inlinevirtual

Updates the asset browser inspector panel with data about the passed entry. Clears the panel if nullptr is passed


The documentation for this class was generated from the following file: