Editor API
UnigineEditor public API
UnigineEditor::Selector Class Referenceabstract

Selector class. This is a base class for all selector-classes used to manage current selection (nodes, materials, properties, runtimes...) in the Editor. More...

Inheritance diagram for UnigineEditor::Selector:
UnigineEditor::SelectorGUIDs UnigineEditor::SelectorNodes

Public Member Functions

virtual int type () const =0
 Returns the current selector type. More...
 
virtual bool equal (const Selector *selector) const =0
 Checks whether the current selector is equal to the specified one. More...
 
virtual Selectorclone () const =0
 Clones the current selector. More...
 

Detailed Description

Selector class. This is a base class for all selector-classes used to manage current selection (nodes, materials, properties, runtimes...) in the Editor.

Member Function Documentation

◆ clone()

virtual Selector* UnigineEditor::Selector::clone ( ) const
pure virtual

Clones the current selector.

Returns
Clone of the current selector.

Implemented in UnigineEditor::SelectorNodes, and UnigineEditor::SelectorGUIDs.

◆ equal()

virtual bool UnigineEditor::Selector::equal ( const Selector selector) const
pure virtual

Checks whether the current selector is equal to the specified one.

Returns
true if selectors are equal; otherwise, false.

Implemented in UnigineEditor::SelectorNodes, and UnigineEditor::SelectorGUIDs.

◆ type()

virtual int UnigineEditor::Selector::type ( ) const
pure virtual

Returns the current selector type.

Returns
Current selector type: one of the SelectorType enum values.

Implemented in UnigineEditor::SelectorNodes, and UnigineEditor::SelectorGUIDs.