32 halp_meta(name,
"Configure Primitive")
33 halp_meta(category,
"Visuals/3D/Scene")
34 halp_meta(c_name,
"configure_primitive")
35 halp_meta(description,
"Set active and visible flags on scene nodes selected by path patterns.")
36 halp_meta(authors,
"ossia team")
39 "https://ossia.io/score-docs/processes/configure-primitive.html")
40 halp_meta(uuid,
"4b8e9d2a-7c5f-4e3a-9b1c-3d2f5e8a7b9c")
52 SetInactiveAndInvisible
59 halp_meta(name,
"Scene In");
60 ossia::scene_spec scene;
66 struct : halp::combobox_t<
"Mode", Mode>
70 std::string_view values[6]{
71 "Set active",
"Set inactive",
72 "Set visible",
"Set invisible",
73 "Active + visible",
"Inactive + invisible"};
84 halp_meta(description,
"Scene paths, one per row. Glob syntax: * within a segment, ** across segments, ? one character.")
93 halp_meta(name,
"Scene Out");
94 ossia::scene_spec scene;
102 std::shared_ptr<const ossia::scene_state> m_cached_out;
103 uint8_t m_pending_dirty{0xFF};
104 const ossia::scene_state* m_cached_in_state{};
105 int64_t m_cached_in_version{-1};
106 int m_cached_mode{-1};
107 std::vector<std::string> m_cached_paths;
108 int64_t m_version_counter{0};