EditorSceneFormatImporter

Inherits: RefCounted < Object

Inherited By: EditorSceneFormatImporterFBX, EditorSceneFormatImporterGLTF

Imports scenes from third-parties' 3D files.

Description

EditorSceneFormatImporter allows to define an importer script for a third-party 3D format.

To use EditorSceneFormatImporter, register it using the EditorPlugin.add_scene_format_importer_plugin method first.

Methods

PackedStringArray

_get_extensions ( ) virtual const

int

_get_import_flags ( ) virtual const

void

_get_import_options ( String path ) virtual

Variant

_get_option_visibility ( String path, String option ) virtual const

Animation

_import_animation ( String path, int flags, int bake_fps ) virtual

Object

_import_scene ( String path, int flags, int bake_fps ) virtual

Animation

import_animation_from_other_importer ( String path, int flags, int bake_fps )

Node

import_scene_from_other_importer ( String path, int flags, int bake_fps )

Constants

  • IMPORT_SCENE = 1

  • IMPORT_ANIMATION = 2

  • IMPORT_FAIL_ON_MISSING_DEPENDENCIES = 4

  • IMPORT_GENERATE_TANGENT_ARRAYS = 8

  • IMPORT_USE_NAMED_SKIN_BINDS = 16

Method Descriptions


  • int _get_import_flags ( ) virtual const


  • void _get_import_options ( String path ) virtual






  • Node import_scene_from_other_importer ( String path, int flags, int bake_fps )