Editor API
UnigineEditor public API
|
Selector for GUIDs-based items (materials, properties, runtimes). An item of this type is associated with a file referred to via a GUID. More...
#include <Selector.h>
Public Member Functions | |
SelectorGUIDs (int type, QVector< Unigine::UGUID > guids) | |
Creates a SelectorGUIDs of the specified type (materials, properties, runtimes) using the specified list of GUIDs. More... | |
~SelectorGUIDs () override | |
int | type () const override |
Returns the current selector type. More... | |
bool | equal (const Selector *selector) const override |
Checks whether the selector is equal to the specified target selector. More... | |
SelectorGUIDs * | clone () const override |
Clones the selector. More... | |
QVector< Unigine::UGUID > | guids () const |
Returns the list of GUIDs for all selected items. More... | |
Public Member Functions inherited from Editor::Selector | |
Selector () | |
virtual | ~Selector () |
Static Public Member Functions | |
static SelectorGUIDs * | createRuntimesSelector (QVector< Unigine::UGUID > guids) |
Creates a runtimes selector using the specified list of GUIDs. More... | |
static SelectorGUIDs * | createMaterialsSelector (QVector< Unigine::UGUID > guids) |
Creates a materials selector using the specified list of GUIDs. More... | |
static SelectorGUIDs * | createPropertiesSelector (QVector< Unigine::UGUID > guids) |
Creates a properties selector using the specified list of GUIDs. More... | |
Selector for GUIDs-based items (materials, properties, runtimes). An item of this type is associated with a file referred to via a GUID.
Editor::SelectorGUIDs::SelectorGUIDs | ( | int | type, |
QVector< Unigine::UGUID > | guids | ||
) |
Creates a SelectorGUIDs of the specified type (materials, properties, runtimes) using the specified list of GUIDs.
type | The type of the selector to be created: one of the SelectorType enum values. |
guids | The list of GUIDs of items to be added to the new selector. |
|
override |
|
overridevirtual |
|
static |
Creates a materials selector using the specified list of GUIDs.
guids | The list of GUIDs of materials. |
|
static |
Creates a properties selector using the specified list of GUIDs.
guids | The list of GUIDs of properties. |
|
static |
Creates a runtimes selector using the specified list of GUIDs.
guids | The list of GUIDs of runtimes. |
|
overridevirtual |
Checks whether the selector is equal to the specified target selector.
selector | Target selector. |
Implements Editor::Selector.
QVector<Unigine::UGUID> Editor::SelectorGUIDs::guids | ( | ) | const |
Returns the list of GUIDs for all selected items.
|
overridevirtual |
Returns the current selector type.
Implements Editor::Selector.