Finality Engine
Loading...
Searching...
No Matches
ScriptRegistry.h File Reference

Registers script factories and editable property descriptors. More...

#include "ScriptableComponent.h"
#include <glm/glm.hpp>
#include <map>
#include <string>
#include <variant>
#include <any>

Go to the source code of this file.

Classes

struct  FINALITY::ScriptProperty
 Named property accessor pair with member identity used by the Inspector and persistence. More...
struct  FINALITY::ScriptDefinition
 Registered script factory, source location and editable property descriptors with a module lease. More...
class  FINALITY::ScriptRegistry
 Registers script factories and editable property descriptors. More...

Namespaces

namespace  FINALITY

Detailed Description

Registers script factories and editable property descriptors.

ScriptDefinition connects a type name, factory, source location and property accessors. Module replacement updates the definitions used for attachment and transfers authored property values through the supported ScriptValue representation.

Usage
Use Find to locate a registered type and Attach to add it to a scene entity. Keep module leases with definitions and instances; do not retain a raw definition pointer across a module replacement.

Definition in file ScriptRegistry.h.