mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
pgraph: Clarify in find() documentation that this node not included
This commit is contained in:
parent
8c01f7faff
commit
2cc1633a77
@ -309,6 +309,8 @@ get_sort(Thread *current_thread) const {
|
||||
* Searches for a node below the referenced node that matches the indicated
|
||||
* string. Returns the shortest match found, if any, or an empty NodePath if
|
||||
* no match can be found.
|
||||
*
|
||||
* The referenced node itself is not considered in the search.
|
||||
*/
|
||||
NodePath NodePath::
|
||||
find(const string &path) const {
|
||||
@ -349,6 +351,8 @@ find_path_to(PandaNode *node) const {
|
||||
/**
|
||||
* Returns the complete set of all NodePaths that begin with this NodePath and
|
||||
* can be extended by path. The shortest paths will be listed first.
|
||||
*
|
||||
* The referenced node itself is not considered in the search.
|
||||
*/
|
||||
NodePathCollection NodePath::
|
||||
find_all_matches(const string &path) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user