forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_nodepath
Lukas Sägesser edited this page Jun 22, 2015
·
10 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 ( )
- NodePath 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.