GDExtensionInterfaceClassdbConstructObject2 typedef

GDExtensionInterfaceClassdbConstructObject2 = Pointer<NativeFunction<GDExtensionInterfaceClassdbConstructObject2Function>>

@name classdb_construct_object2 @since 4.4

Constructs an Object of the requested class.

The passed class must be a built-in godot class, or an already-registered extension class. In both cases, object_set_instance() should be called to fully initialize the object.

"NOTIFICATION_POSTINITIALIZE" must be sent after construction.

@param p_classname A pointer to a StringName with the class name.

@return A pointer to the newly created Object.

Implementation

typedef GDExtensionInterfaceClassdbConstructObject2 =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceClassdbConstructObject2Function>
    >;