C/C++ SDK / C ABI · Core (all targets) / KroysComponentTypeDesc
KroysComponentTypeDesc
A plugin component type (core->RegisterComponentType).
Kindstruct
Headerkroys/kroys_plugin.h
Members11
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysComponentTypeDesc { ... } KroysComponentTypeDesc;
REFERENCE
Members
Fields
#uint32_t structSize;Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.
#uint32_t flags;KROYS_COMPONENT_*
#const char* name;local name; the engine type is "<plugin id>.<name>"
#const char* displayName;Inspector and Add Component name; null: name.
#const char* category;Add Component group; null: "Plugins"
#const char* description;Add Component tooltip; null: none.
#uint32_t schemaVersion;>= 1
#uint32_t fieldCount;Number of entries in fields.
#const KroysFieldDesc* fields;The reflected fields (fieldCount entries, fieldDescSize bytes apart).
#uint32_t fieldDescSize;sizeof(KroysFieldDesc) of the plugin's headers (array stride)
#uint32_t reserved;Padding reserved for later use; leave it 0.
Members
uint32_t structSize; uint32_t flags; const char* name; const char* displayName; const char* category; const char* description; uint32_t schemaVersion; uint32_t fieldCount; const KroysFieldDesc* fields; uint32_t fieldDescSize; uint32_t reserved;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.