User Properties (#2064)

Add the ability to add user-defined properties using a new `openspace.addCustomProperty` function that takes an identifier and a type and creates a new property of that type.  The new property is then available under `UserProperties.<identifier>`
This commit is contained in:
Alexander Bock
2022-05-04 16:06:08 -07:00
committed by GitHub
parent 510e2795de
commit ee735618b4
4 changed files with 195 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ inline interaction::SessionRecording* sessionRecording;
inline interaction::ShortcutManager* shortcutManager;
inline properties::PropertyOwner* rootPropertyOwner;
inline properties::PropertyOwner* screenSpaceRootPropertyOwner;
inline properties::PropertyOwner* userPropertyOwner;
inline scripting::ScriptEngine* scriptEngine;
inline scripting::ScriptScheduler* scriptScheduler;
inline Profile* profile;