Editor API
UnigineEditor public API
Constants.h
1 // Copyright (C), UNIGINE. All rights reserved.
2 #pragma once
3 
4 
5 #include <EditorGlobal.h>
6 
7 
8 class QString;
9 
10 
11 namespace Constants
12 {
13 
14 
15 extern EDITOR_API const char *PLUGIN_IID;
16 
18 // The main QMenuBar menu's keys.
21 extern EDITOR_API const QString MM_FILE;
23 extern EDITOR_API const QString MM_EDIT;
25 extern EDITOR_API const QString MM_CREATE;
27 extern EDITOR_API const QString MM_TOOLS;
29 extern EDITOR_API const QString MM_WINDOWS;
31 extern EDITOR_API const QString MM_RENDERING;
33 extern EDITOR_API const QString MM_HELP;
34 
35 
37 enum class SubObjectType
38 {
40  SURFACE,
42  SHAPE,
44  JOINT,
46  BILLBOARD,
48  FORCE,
50  NOISE,
52  DEFLECTOR,
59 };
60 EDITOR_API uint qHash(Constants::SubObjectType key);
61 
62 
63 } // namespace Constants
Object's surface (Object).
Spline tangent (WorldSplineGraph).
Spline segment (WorldSplineGraph).
EDITOR_API const char * PLUGIN_IID
EDITOR_API const QString MM_RENDERING
Rendering menu category of the main menu bar.
Spline point (WorldSplineGraph).
Collision shape (Body attached to an Object).
SubObjectType
Type of selectable subobjects for various types of nodes.
Definition: Constants.h:37
EDITOR_API const QString MM_EDIT
Edit menu category of the main menu bar.
EDITOR_API const QString MM_HELP
Help menu category of the main menu bar.
Definition: Constants.h:11
Physical noise affecting particles (ObjectParticles).
EDITOR_API uint qHash(Constants::SubObjectType key)
Billboard (ObjectBillboards).
Physical force affecting particles (ObjectParticles).
EDITOR_API const QString MM_WINDOWS
Windows menu category of the main menu bar.
EDITOR_API const QString MM_TOOLS
Tools menu category of the main menu bar.
Physical deflector affecting particles (ObjectParticles).
EDITOR_API const QString MM_CREATE
Create menu category of the main menu bar.
EDITOR_API const QString MM_FILE
File menu category of the main menu bar.
Physical joint (Body attached to an Object).