forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_nodepath
reduz edited this page Feb 23, 2014
·
9 revisions
####Category: Built-In Types
Built-in type optimized for path traversing.
- 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 )
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.
Return a path level name.
- int get_name_count ( )
Return the path level count.
- String get_property ( )
Return the property associated (empty if none).
Return the subname level name.
- int get_subname_count ( )
Return the subname count.
- bool is_absolute ( )
Return true if the node path is absolute (not relative).
- bool is_empty ( )
Return true if the node path is empty.