VariableWrapper

Template for public variables exported as properties.

Members

Aliases

P
alias P = typeof(var)
Undocumented in source.
getterType
alias getterType = P function()
Undocumented in source.
setterType
alias setterType = void function(P v)
Undocumented in source.

Static functions

callPropertyGet
void callPropertyGet(void* methodData, void* instance, const(void*)* args, long numArgs, void* r_return, GDExtensionCallError* r_error)
Undocumented in source. Be warned that the author may not have intended to support it.
callPropertySet
void callPropertySet(void* methodData, void* instance, const(void*)* args, long numArgs, void* r_return, GDExtensionCallError* r_error)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

T

the class that owns the variable

var

the name of the member variable being wrapped

Meta