NativeScript

Inherits: Script < Resource < Reference < Object

Category: Core

Brief Description

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

Default “”
Setter set_class_name(value)
Getter get_class_name()
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()
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.

Returns the documentation string that was previously set with godot_nativescript_set_method_documentation.

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.

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.