.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the NativeScript.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_NativeScript: NativeScript ============ **Inherits:** :ref:`Script` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_class_documentation` **(** **)** const | +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_method_documentation` **(** :ref:`String` method **)** const | +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_property_documentation` **(** :ref:`String` path **)** const | +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_signal_documentation` **(** :ref:`String` signal_name **)** const | +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`new` **(** **)** vararg | +------------------------------+----------------------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- .. _class_NativeScript_class_name: - :ref:`String` **class_name** .. _class_NativeScript_library: - :ref:`GDNativeLibrary` **library** Member Function Description --------------------------- .. _class_NativeScript_get_class_documentation: - :ref:`String` **get_class_documentation** **(** **)** const Returns the documentation string that was previously set with ``godot_nativescript_set_class_documentation``. .. _class_NativeScript_get_method_documentation: - :ref:`String` **get_method_documentation** **(** :ref:`String` method **)** const Returns the documentation string that was previously set with ``godot_nativescript_set_method_documentation``. .. _class_NativeScript_get_property_documentation: - :ref:`String` **get_property_documentation** **(** :ref:`String` path **)** const Returns the documentation string that was previously set with ``godot_nativescript_set_property_documentation``. .. _class_NativeScript_get_signal_documentation: - :ref:`String` **get_signal_documentation** **(** :ref:`String` signal_name **)** const Returns the documentation string that was previously set with ``godot_nativescript_set_signal_documentation``. .. _class_NativeScript_new: - :ref:`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.