class_nodepath - dragonsoulz/godot GitHub Wiki
NodePath
####Category: Built-In Types
Brief Description
Built-in type optimized for path traversing.
Member Functions
- String get_name ( int idx )
- int get_name_count ( )
- String get_property ( )
- String get_subname ( int idx )
- int get_subname_count ( )
- bool is_absolute ( )
- bool is_empty ( )
- void NodePath ( String from )
Description
Built-in type optimized for path traversing. A Node path is an optimized compiled path used for traversing the scene tree. It references nodes and can reference properties in that node, or even reference properties inside the resources of the node.
Member Function Description
get_name
Return a path level name.
get_name_count
- int get_name_count ( )
Return the path level count.
get_property
- String get_property ( )
Return the property associated (empty if none).
get_subname
Return the subname level name.
get_subname_count
- int get_subname_count ( )
Return the subname count.
is_absolute
- bool is_absolute ( )
Return true if the node path is absolute (not relative).
is_empty
- bool is_empty ( )
Return true if the node path is empty.