ezEngine  Release 25.03
ezSelectedObjectsExtractor Class Reference

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>

Inheritance diagram for ezSelectedObjectsExtractor:

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);.
 
ezSelectedObjectsContextGetSelectionContext () const
 
- Public Member Functions inherited from ezSelectedObjectsExtractorBase
 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
 
- Public Member Functions inherited from ezExtractor
 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.
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () 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 Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Public Attributes inherited from ezSelectedObjectsExtractorBase
ezRenderData::Category m_OverrideCategory
 
- Protected Member Functions inherited from ezExtractor
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.
 
- Protected Attributes inherited from ezExtractor
ezHybridArray< ezHashedString, 4 > m_DependsOn
 

Detailed Description

An extractor that can be instantiated in a render pipeline, to define manually which objects should be rendered with a selection outline.

See also
ezSelectedObjectsContext

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