Minimal type-directed metadata for a Godot class T (an engine wrapper or a user-registered class). This is all that remains of the old GodotClass[T] typeclass once Gd[T] is gone: the only thing the rest of the binding still needs at a type boundary is the ability to turn a raw engine handle into a typed T wrapper (plus the class name for string-keyed engine calls).
className— the Godot class name, for class-tag / construct lookups.fromHandle— the object's one wrapper as aT(its bound user instance, else a cached wrapper of its most-derived engine class; see Wrappers).
Dropped vs GodotClass: isRefCounted (now value.isInstanceOf[RefCounted]) and unwrap (now t.hostObject/t.hostPtr directly on the value).
There are no hand-written or generated instances. Every ClassMeta[T] is synthesized by the single derived macro from the type T, so adding an engine class or a user class needs no boilerplate. ClassMeta is only ever summoned at a handle→object boundary (cast targets, export reads, construction); once you hold a T, you never need it again.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any