W3cubDocs

/Godot 3.1

NativeScript

Inherits: Script < Resource < Reference < Object

Category: Core

Brief Description

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
Object new () vararg

Property Descriptions

String class_name

Setter set_class_name(value)
Getter get_class_name()

GDNativeLibrary library

Setter set_library(value)
Getter get_library()

String script_class_icon_path

Setter set_script_class_icon_path(value)
Getter get_script_class_icon_path()

String script_class_name

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.

Object 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–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_nativescript.html