[][src]Module gdnative::init

Types and functionalities to declare and initialize gdnative classes.

API endpoints

Three endpoints are automatically invoked by the engine during startup and shutdown:

All three must be present.

Registering a class using the godot_class macro

See the spinning_cube example in the repositiory.

Registering a class manually

See the manually_registered example in the repositiory.

Modules

property

Property registration.

Structs

ClassBuilder
ClassDescriptor
ExportInfo

Metadata about the exported property.

InitHandle

A handle that can register new classes to the engine during initialization.

PropertyBuilder

Builder type used to register a property on a NativeClass.

PropertyUsage
ScriptMethod
ScriptMethodAttributes
Signal
SignalArgument

Enums

RpcMode

Traits

Export

Trait for exportable types.

Type Definitions

ScriptConstructorFn
ScriptDestructorFn
ScriptMethodFn