mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user