RefLeaf

gdext.internal.register.RefLeaf
See theRefLeaf companion trait
object RefLeaf

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RefLeaf.type

Members list

Givens

Givens

given bareNodeLeaf[T <: Node](using meta: ClassMeta[T]): RefLeaf[T]

Bare node type: @gdexport var p: Option[Projectile] exports a node reference. The node-vs-resource hint is inferred from the class hierarchy. The reference is held as the plain wrapper T; marshals via the ClassMeta[T] factory.

Bare node type: @gdexport var p: Option[Projectile] exports a node reference. The node-vs-resource hint is inferred from the class hierarchy. The reference is held as the plain wrapper T; marshals via the ClassMeta[T] factory.

Attributes

given bareResourceLeaf[T <: Resource](using meta: ClassMeta[T]): RefLeaf[T]

Bare resource type (see bareNodeLeaf).

Bare resource type (see bareNodeLeaf).

Attributes

given tresLeaf[T <: Resource](using meta: ClassMeta[T]): RefLeaf[Tres[T]]
given tscnLeaf[T <: GodotScriptClass](using root: ClassMeta[T], ps: ClassMeta[PackedScene]): RefLeaf[Tscn[T]]