TrinyxEngine | Data-oriented game engine for competitive multiplayer
  1. Guides
  1. Modules
  2. Classes
  3. Namespaces
  4. Files

EditorState struct
#include <Editor/Public/EditorState.h>

Contents

  • Reference
    • Public types
    • Public functions
    • Public variables

Transient editor-wide state shared across all panels. Lives on the render thread — no synchronization needed between panels.

Public types

enum class SelectionType: uint8_t { None, Construct, Archetype, Entity }
enum class GizmoOp: uint8_t { Translate, Rotate, Scale }

Public functions

void ClearSelection()

Public variables

Registry* RegistryPtr
const EngineConfig* ConfigPtr
LogicThreadBase* LogicPtr
SelectionType Selection
uint32_t SelectedConstructID
void* SelectedConstructPtr
const char* SelectedConstructTypeName
ClassID SelectedClassID
Archetype* SelectedArchetype
Chunk* SelectedChunk
uint16_t SelectedLocalIndex
uint32_t SelectedCacheIndex
GizmoOp CurrentGizmoOp
bool bGizmoWorldMode
bool bGizmoSnap
float GizmoSnapTranslate
float GizmoSnapRotate
float GizmoSnapScale
std::string CurrentScenePath
std::string CurrentSceneName
bool bSceneDirty
std::string SceneDefaultState
std::string SceneDefaultMode
TrinyxEngine* EnginePtr
ReplicationSystem* ReplicatorPtr
AssetDatabase* AssetDB
EditorContext* EditorCtx
Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a : or / suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.

    TrinyxEngine — data-oriented engine for competitive multiplayer.
    Generated from source. See the GitHub repository.