Module nodepaths

Types

NodePath* = ref object
  path: GodotNodePath
  Source Edit

Procs

proc newNodePath*(path: GodotNodePath): NodePath
Moves the GodotNodePath into Nim wrapper. The path will be destroyed automatically when the result is no longer referenced.   Source Edit
proc newNodePath*(s: string): NodePath
  Source Edit
proc godotNodePath*(path: NodePath): ptr GodotNodePath {.
inline
.}
WARNING: do not keep the returned value for longer than the lifetime of path   Source Edit
proc `$`*(self: NodePath): string {.
inline
.}
  Source Edit
proc isAbsolute*(self: NodePath): bool {.
inline
.}
  Source Edit
proc nameCount*(self: NodePath): int {.
inline
.}
  Source Edit
proc getName*(self: NodePath; idx: int): string {.
inline
.}
  Source Edit
proc subnameCount*(self: NodePath): int {.
inline
.}
  Source Edit
proc getSubname*(self: NodePath; idx: int): string {.
inline
.}
  Source Edit
proc property*(self: NodePath): string {.
inline
.}
  Source Edit
proc isEmpty*(self: NodePath): bool {.
inline
.}
  Source Edit
proc `==`*(a, b: NodePath): bool
  Source Edit

Converters

converter fromString*(s: string): NodePath
  Source Edit