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::PreviewerFactory Class Referenceabstract

Handles creating concrete instances of previewers. More...

#include <PreviewerFactory.h>

Public Member Functions

virtual PreviewerCreatePreviewer (QWidget *parent=nullptr) const =0
 
virtual bool IsEntrySupported (const AssetBrowserEntry *entry) const =0
 Checks if previewers created by this factory can display provided entry.
 
virtual const QString & GetName () const =0
 Returns unique name for the factory (typically it's the name of previewer type it generates).
 

Detailed Description

Handles creating concrete instances of previewers.

Member Function Documentation

◆ CreatePreviewer()

virtual Previewer * AzToolsFramework::AssetBrowser::PreviewerFactory::CreatePreviewer ( QWidget *  parent = nullptr) const
pure virtual

Create new instance of previewer. Its lifecycle is managed by the parent widget, so you should not destroy it manually.


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