NativeScript

Inherits: Script < Resource < Reference < Object

Properties

String

class_name

""

GDNativeLibrary

library

String

script_class_icon_path

""

String

script_class_name

""

Methods

String

get_class_documentation ( ) const

String

get_method_documentation ( String method ) const

String

get_property_documentation ( String path ) const

String

get_signal_documentation ( String signal_name ) const

Variant

new ( ... ) vararg

Property Descriptions

String class_name

Default

""

Setter

set_class_name(value)

Getter

get_class_name()

GDNativeLibrary library

Setter

set_library(value)

Getter

get_library()

String script_class_icon_path

Default

""

Setter

set_script_class_icon_path(value)

Getter

get_script_class_icon_path()

String script_class_name

Default

""

Setter

set_script_class_name(value)

Getter

get_script_class_name()

Method Descriptions

String get_class_documentation ( ) const

Returns the documentation string that was previously set with godot_nativescript_set_class_documentation.

String get_method_documentation ( String method ) const

Returns the documentation string that was previously set with godot_nativescript_set_method_documentation.

String get_property_documentation ( String path ) const

Returns the documentation string that was previously set with godot_nativescript_set_property_documentation.

String get_signal_documentation ( String signal_name ) const

Returns the documentation string that was previously set with godot_nativescript_set_signal_documentation.

Variant new ( ... ) vararg

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.

© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_nativescript.html