C/C++ SDK / C ABI · Core (all targets) / KroysFieldDesc
KroysFieldDesc
One reflected field of a plugin component type (inspector, scene and prefab files, copy, undo).
Kindstruct
Headerkroys/kroys_plugin.h
Members10
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysFieldDesc { ... } KroysFieldDesc;
REFERENCE
Members
Fields
#const char* name;letters, digits, '_'; starts with a letter
#const char* displayName;null: name
#const char* tooltip;Inspector tooltip; null: none.
#uint32_t type;KroysValueType: BOOL..GUID
#uint32_t flags;KROYS_FIELD_*
#KroysValue defaultValue;type NONE: zero / empty
#float minimum;Inspector range minimum (with hasRange).
#float maximum;Inspector range maximum (with hasRange).
#int32_t hasRange;Nonzero: the inspector shows a slider from minimum to maximum.
#uint32_t reserved;Padding reserved for later use; leave it 0.
Members
const char* name; const char* displayName; const char* tooltip; uint32_t type; uint32_t flags; KroysValue defaultValue; float minimum; float maximum; int32_t hasRange; uint32_t reserved;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.