godot.d.udas

Attributes for specifying how Godot-D should register the marked classes, properties, methods, and signals into Godot.

Members

Aliases

RAII
deprecated alias RAII = OnInit
Undocumented in source.

Enums

RPCMode
enum RPCMode
Tool
enum Tool

A UDA to enable a script class to run in the Godot editor even without the game running. Required for EditorPlugins and other tools used in the editor.

Structs

DefaultValue
struct DefaultValue(Expression...)

A UDA for explicitly specifying the default value of a Property.

Method
struct Method

A UDA to mark a method that should be registered into Godot

OnInit
struct OnInit

A UDA for marking script variables that should be automatically created when the script is created, right before _init() is called.

OnReady
struct OnReady(alias arg)
Property
struct Property

A UDA to mark a public variable OR accessor methods as a property in Godot.

Rename
struct Rename

A UDA to change the Godot name of a method, property, or signal. Useful for overloads, which D supports but Godot does not.

Signal
struct Signal

A UDA to mark a signal. The signal should be a static function/delegate variable that defines the signal's arguments.

Meta