NativeScript

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_new
Variant _new(VarArgs varArgs)

Constructs a new object of the base type with a script of this type already attached. Note: Any arguments passed to this function will be ignored and not passed to the native constructor function. This will change with in a future API extension.

getClassDocumentation
String getClassDocumentation()

Returns the documentation string that was previously set with godot_nativescript_set_class_documentation.

getClassName
String getClassName()
getLibrary
Ref!GDNativeLibrary getLibrary()
getMethodDocumentation
String getMethodDocumentation(String method)

Returns the documentation string that was previously set with godot_nativescript_set_method_documentation.

getPropertyDocumentation
String getPropertyDocumentation(String path)

Returns the documentation string that was previously set with godot_nativescript_set_property_documentation.

getScriptClassIconPath
String getScriptClassIconPath()
getScriptClassName
String getScriptClassName()
getSignalDocumentation
String getSignalDocumentation(String signal_name)

Returns the documentation string that was previously set with godot_nativescript_set_signal_documentation.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(NativeScript other)
opEquals
bool opEquals(typeof(null) n)
setClassName
void setClassName(String class_name)
setLibrary
void setLibrary(GDNativeLibrary library)
setScriptClassIconPath
void setScriptClassIconPath(String icon_path)
setScriptClassName
void setScriptClassName(String class_name)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

className
String className [@property getter]
String className [@property setter]
library
GDNativeLibrary library [@property getter]
GDNativeLibrary library [@property setter]
scriptClassIconPath
String scriptClassIconPath [@property getter]
String scriptClassIconPath [@property setter]
scriptClassName
String scriptClassName [@property getter]
String scriptClassName [@property setter]

Static functions

_new
NativeScript _new()

Construct a new instance of NativeScript. Note: use memnew!NativeScript instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta