GArray
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GArray.type
Members list
Value members
Concrete methods
Construct an empty Array into caller storage.
Construct an empty Array into caller storage.
Attributes
Construct an empty typed Array into caller storage, via Array's typed constructor (index 2: Array(base, type, class_name, script)). Typing the array makes Godot fill new elements with the element type's default (e.g. "" for String) instead of <null> when the inspector adds a row.
Construct an empty typed Array into caller storage, via Array's typed constructor (index 2: Array(base, type, class_name, script)). Typing the array makes Godot fill new elements with the element type's default (e.g. "" for String) instead of <null> when the inspector adds a row.
elemType is the element's variant type; className is the element class name for OBJECT elements (e.g. "Enemy"), "" for builtins.
Attributes
Reinterpret a raw handle as a GArray (the opaque type is its pointer).
Reinterpret a raw handle as a GArray (the opaque type is its pointer).
Attributes
Extensions
Extensions
Read element i as a Scala value.
Read element i as a Scala value.
Attributes
Append a value (calls Array.push_back).
Append a value (calls Array.push_back).
Attributes
Number of elements (calls Array.size).
Number of elements (calls Array.size).