![]() |
XII Release 0.1.0
|
Stores a list of game objects that should get highlighted by the renderer. More...
#include <Extractor.h>
Public Member Functions | |
void | RemoveDeadObjects (const xiiWorld &world) |
void | AddObjectAndChildren (const xiiWorld &world, const xiiGameObjectHandle &hObject) |
void | AddObjectAndChildren (const xiiWorld &world, const xiiGameObject *pObject) |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
xiiDeque< xiiGameObjectHandle > | m_Objects |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
Stores a list of game objects that should get highlighted by the renderer.
Store an instance somewhere in your game code: xiiSelectedObjectsContext m_SelectedObjects; Add handles to game object that should be get the highlighting outline (as the editor uses for selected objects). On a xiiView call: xiiView::SetExtractorProperty("HighlightObjects", "SelectionContext", &m_SelectedObjects); The first name must be the name of a xiiSelectedObjectsExtractor that is instantiated by the render pipeline.
As long as there is also a xiiSelectionHighlightPass in the render pipeline, all objects in this selection will be rendered with an outline.