12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the PackedSceneGLTF.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_PackedSceneGLTF:
- PackedSceneGLTF
- ===============
- **Inherits:** :ref:`PackedScene<class_PackedScene>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
- Description
- -----------
- **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to ``PackedSceneGLTF`` within a script will cause an error in an exported project.
- Properties
- ----------
- +-------------------------------------+----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Dictionary<class_Dictionary>` | _bundled | ``{"conn_count": 0,"conns": PoolIntArray( ),"editable_instances": [ ],"names": PoolStringArray( ),"node_count": 0,"node_paths": [ ],"nodes": PoolIntArray( ),"variants": [ ],"version": 2}`` *(parent override)* |
- +-------------------------------------+----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Methods
- -------
- +---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`export_gltf<class_PackedSceneGLTF_method_export_gltf>` **(** :ref:`Node<class_Node>` node, :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0 **)** |
- +---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Node<class_Node>` | :ref:`import_gltf_scene<class_PackedSceneGLTF_method_import_gltf_scene>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0, :ref:`int<class_int>` compress_flags=2194432, :ref:`GLTFState<class_GLTFState>` state=null **)** |
- +---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`pack_gltf<class_PackedSceneGLTF_method_pack_gltf>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0, :ref:`int<class_int>` compress_flags=2194432, :ref:`GLTFState<class_GLTFState>` state=null **)** |
- +---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Method Descriptions
- -------------------
- .. _class_PackedSceneGLTF_method_export_gltf:
- - :ref:`Error<enum_@GlobalScope_Error>` **export_gltf** **(** :ref:`Node<class_Node>` node, :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0 **)**
- ----
- .. _class_PackedSceneGLTF_method_import_gltf_scene:
- - :ref:`Node<class_Node>` **import_gltf_scene** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0, :ref:`int<class_int>` compress_flags=2194432, :ref:`GLTFState<class_GLTFState>` state=null **)**
- ----
- .. _class_PackedSceneGLTF_method_pack_gltf:
- - void **pack_gltf** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags=0, :ref:`float<class_float>` bake_fps=1000.0, :ref:`int<class_int>` compress_flags=2194432, :ref:`GLTFState<class_GLTFState>` state=null **)**
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|