![]() |
ezEngine
Release 25.03
|
An extractor that can be instantiated in a render pipeline, to define manually which objects should be rendered with a selection outline. More...
#include <Extractor.h>
Public Member Functions | |
ezSelectedObjectsExtractor (const char *szName="ExplicitlySelectedObjectsExtractor") | |
virtual const ezDeque< ezGameObjectHandle > * | GetSelection () override |
virtual ezResult | Serialize (ezStreamWriter &inout_stream) const override |
virtual ezResult | Deserialize (ezStreamReader &inout_stream) override |
void | SetSelectionContext (ezSelectedObjectsContext *pSelectionContext) |
The context is typically set through an ezView, through ezView::SetExtractorProperty("<name>", "SelectionContext", pointer);. | |
ezSelectedObjectsContext * | GetSelectionContext () const |
![]() | |
ezSelectedObjectsExtractorBase (const char *szName="SelectedObjectsExtractor") | |
virtual void | Extract (const ezView &view, const ezDynamicArray< const ezGameObject * > &visibleObjects, ezExtractedRenderData &ref_extractedRenderData) override |
virtual void | PostSortAndBatch (const ezView &view, const ezDynamicArray< const ezGameObject * > &visibleObjects, ezExtractedRenderData &ref_extractedRenderData) override |
![]() | |
ezExtractor (const char *szName) | |
void | SetName (const char *szName) |
Sets the name of the extractor. | |
const char * | GetName () const |
returns the name of the extractor. | |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
![]() | |
ezRenderData::Category | m_OverrideCategory |
![]() | |
bool | FilterByViewTags (const ezView &view, const ezGameObject *pObject) const |
returns true if the given object should be filtered by view tags. | |
void | ExtractRenderData (const ezView &view, const ezGameObject *pObject, ezMsgExtractRenderData &msg, ezExtractedRenderData &extractedRenderData) const |
extracts the render data for the given object. | |
![]() | |
ezHybridArray< ezHashedString, 4 > | m_DependsOn |
An extractor that can be instantiated in a render pipeline, to define manually which objects should be rendered with a selection outline.