Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

EditorSceneFormatImporter

Inherits: RefCounted < Object

Inherited By: EditorSceneFormatImporterBlend, EditorSceneFormatImporterFBX, EditorSceneFormatImporterGLTF

Imports scenes from third-parties' 3D files.

描述

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, bool for_animation, String option ) virtual const

Object

_import_scene ( String path, int flags, Dictionary options ) virtual


常量

IMPORT_SCENE = 1

IMPORT_ANIMATION = 2

IMPORT_FAIL_ON_MISSING_DEPENDENCIES = 4

IMPORT_GENERATE_TANGENT_ARRAYS = 8

IMPORT_USE_NAMED_SKIN_BINDS = 16

IMPORT_DISCARD_MESHES_AND_MATERIALS = 32


Method Descriptions

PackedStringArray _get_extensions ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _get_import_flags ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


void _get_import_options ( String path ) virtual

There is currently no description for this method. Please help us by contributing one!


Variant _get_option_visibility ( String path, bool for_animation, String option ) virtual const

There is currently no description for this method. Please help us by contributing one!


Object _import_scene ( String path, int flags, Dictionary options ) virtual

There is currently no description for this method. Please help us by contributing one!