StringName

gdext.builtin.StringName$package.StringName
object StringName

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
StringName.type

Members list

Value members

Concrete methods

def from(value: String, dest: GDExtensionStringNamePtr): StringName

Construct a StringName from a Scala String into caller storage.

Construct a StringName from a Scala String into caller storage.

Attributes

Wrap an existing engine StringName pointer without copying.

Wrap an existing engine StringName pointer without copying.

Attributes

Decode a StringName handle to a Scala String by constructing a Godot String from it (String constructor index 2 takes a StringName) and reading that out. Used to match incoming engine StringNames by text, since two StringName handles for the same text are not pointer-equal.

Decode a StringName handle to a Scala String by constructing a Godot String from it (String constructor index 2 takes a StringName) and reading that out. Used to match incoming engine StringNames by text, since two StringName handles for the same text are not pointer-equal.

Attributes

Extensions

Extensions

extension (sn: StringName)
def destroy(): Unit

Release the underlying StringName reference.

Release the underlying StringName reference.

Attributes