class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCounted EditorSceneFormatImporter
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.

PackedStringArray _get_extensions<>():PackedStringArray

Return supported file extensions for this scene importer.

void _get_import_options<>( String path=, path:String=, ):void

Override to add general import options. These will appear in the main import dock on the editor. Add options via add_import_option() and add_import_option_advanced().

Note: All EditorSceneFormatImporter and EditorScenePostImportPlugin instances will add options for all files. It is good practice to check the file extension when path is non-empty.

When the user is editing project settings, path will be empty. It is recommended to add all options when path is empty to allow the user to customize Import Defaults.

Variant _get_option_visibility<>( String path=, path:String=, bool for_animation=, for_animation:bool=, String option=, option:String=, ):Variant

Should return true to show the given option, false to hide the given option, or null to ignore.

Object _import_scene<>( String path=, path:String=, int flags=, flags:int=, Dictionary options=, options:Dictionary=, ):Object

Perform the bulk of the scene import logic here, for example using GLTFDocument or FBXDocument.

void add_import_option<>( String name=, name:String=, Variant value=, value:Variant=, ):void

Add a specific import option (name and default value only). This function can only be called from _get_import_options().

void add_import_option_advanced<>( =, :=, String name=, name:String=, Variant default_value=, default_value:Variant=, PropertyHint hint=0, hint:PropertyHint=0, String hint_string="", hint_string:String="", int usage_flags=6, usage_flags:int=6, ):void

Add a specific import option. This function can only be called from _get_import_options().




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...