struct
Godot::NodePath
- Godot::NodePath
- Struct
- Value
- Object
Overview
Unary tilde operator on NodePath: ~(node_path!("MyNode"))
Defined in:
libgodot/node_context.crlibgodot/object.cr
Constructors
Instance Method Summary
- #==(other : NodePath) : Bool
- #==(other : String) : Bool
- #~ : Godot::Node
- #empty? : Bool
-
#get_subname(idx : Int64) : String
Returns the subname at the given index
-
#get_subname_count : Int64
Returns the subname count (number of colon-separated property paths after node)
- #path : String
- #path=(path : String)
-
#to_s(io : IO) : Void
Same as
#inspect(io). -
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Instance Method Detail
def get_subname_count : Int64
#
Returns the subname count (number of colon-separated property paths after node)
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.