载入中...
搜索中...
未找到
SceneQuery.h
浏览该文件的文档.
Scene graph query/mutation surface (provided by the scene module).
Definition SceneQuery.h:30
virtual bool getNodeIn(const std::string &host, const std::string &id, SceneNodeInfo *out) const =0
Look up one node in a named host.
virtual ~ISceneQuery()=default
virtual void syncTransforms()=0
Propagate local transforms -> world for every host.
virtual std::string hostNameAt(int index) const =0
Name of the host at index.
virtual std::string activeHost() const =0
Name of the currently selected host, or "" when none.
virtual bool setNodeTransform(const std::string &id, float x, float y, float z)=0
Mutate the active host's node transform (marks subtree dirty).
virtual bool getNode(const std::string &id, SceneNodeInfo *out) const =0
Look up one node in the active host.
virtual std::vector< SceneNodeInfo > nodes(int limit) const =0
Depth-first node list of the active host, capped at limit.
virtual bool setNodeVisible(const std::string &id, bool visible)=0
Show/hide a node in the active host.
virtual std::string rootId() const =0
Root node id of the active host, or "".
virtual std::vector< SceneNodeInfo > nodesOf(const std::string &host, int limit) const =0
Node list of a named host, capped at limit.
virtual int nodeCount() const =0
Node count of the active host (0 when none).
Definition Build.cpp:11
Serializable snapshot of one scene node (value type, no scene types).
Definition SceneQuery.h:17