|
Finality Engine
|
Defines native script ownership, lifecycle and Inspector field annotations. More...
#include <memory>#include <vector>#include <functional>#include <entt.hpp>#include <Core/Core.h>#include <string>#include <map>#include <variant>#include <glm/glm.hpp>#include <Assets/AssetRegistry.h>#include "ScriptableComponent.inl"Go to the source code of this file.
Classes | |
| struct | FINALITY::ScriptAssetReference |
| Typed Inspector asset reference stored as a registry reference or path. More... | |
| struct | FINALITY::ScriptStorage |
| Attached native script instances and their authored property values for one entity. More... | |
| struct | FINALITY::ScriptStorage::ScriptInstance |
| Script instance state and its module lease; keeps native code alive while the instance exists. More... | |
| class | FINALITY::ScriptableComponent |
Namespaces | |
| namespace | FINALITY |
Macros | |
| #define | FISerializeField friend struct ::FINALITY::ScriptFieldAccess; |
Typedefs | |
| using | FINALITY::ScriptValue = std::variant<bool, int, float, std::string, glm::vec3, ScriptAssetReference> |
Defines native script ownership, lifecycle and Inspector field annotations.
Scene binds each attached script to its entity and controls its callbacks. Public mutable supported fields are exposed automatically. FISerializeField opts private fields into generated access; it does not convert arbitrary unsupported C++ types into Inspector values.
Definition in file ScriptableComponent.h.
| #define FISerializeField friend struct ::FINALITY::ScriptFieldAccess; |
Definition at line 27 of file ScriptableComponent.h.