ConstructDoc struct

One open Construct type in the editor — node graph per tick slot + view/composition list.

Public types

struct UserFuncTab
struct Member
A ConstructView<T> or Owned<T> member.
enum class TickSlot: int { PrePhysics = 0, PhysicsStep, PostPhysics, ScalarUpdate, Count }
One graph per tick slot. Index matches TickSlot enum.

Constructors, destructors, conversion operators

ConstructDoc(const char* typeName, const char* filePath = nullptr) explicit

Public functions

auto ShownGraph() -> NodeGraphCanvas*
The graph chosen to be shown: a tick slot's or a method's.

Public variables

uint32_t ID
stable while it is open: what handlers find it by
std::string TypeName
std::string FilePath
NodeGraphCanvas Graphs
int ActiveSlot
std::vector<UserFuncTab> UserFuncs
int ActiveUserFunc
std::vector<Member> Views
std::vector<Member> Owned