Files
godot-docs/classes/class_editorscenepostimport.rst
2016-08-10 21:33:38 +02:00

42 lines
1.3 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. _class_EditorScenePostImport:
EditorScenePostImport
=====================
**Inherits:** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Base script for post-processing scenes being imported.
Member Functions
----------------
+-------+---------------------------------------------------------------------------------------------------------------------+
| void | :ref:`post_import<class_EditorScenePostImport_post_import>` **(** :ref:`Object<class_object>` scene **)** virtual |
+-------+---------------------------------------------------------------------------------------------------------------------+
Description
-----------
These scripts can modify scenes after being imported by the 3D Scene import option of the Import menu.
Member Function Description
---------------------------
.. _class_EditorScenePostImport_post_import:
- void **post_import** **(** :ref:`Object<class_object>` scene **)** virtual
This function is called upon import with the imported scene.
Just do any changes desired to the scene and return it. If null is returned, import will fail and throw an error to the user.