C/C++ SDK / C ABI · Scene (all targets; permission scene.read / scene.write) / KroysComponentTypeInfo
KroysComponentTypeInfo
A registered component type (scene->GetComponentTypeInfo, 2.2). Set structSize before the call; the host fills the members it knows. The strings stay valid while the type is registered.
Kindstruct
Headerkroys/kroys_plugin.h
Members5
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysComponentTypeInfo { ... } KroysComponentTypeInfo;
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_INFO_*
#const char* name;Type name for FindComponentType ("LightComponent", "Plugin.Id.Name").
#const char* displayName;Inspector name.
#const char* category;Add Component group.
Members
uint32_t structSize; uint32_t flags; const char* name; const char* displayName; const char* category;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.