Inheritance #

RefCounted

- AESContext
- AStar2D
- AStar3D
- AStarGrid2D
- AudioEffectInstance (1)
- AudioSample
- AudioSamplePlayback
- AudioStreamPlayback (5)
- CameraFeed
- CharFXTransform
- ConfigFile
- Crypto
- DTLSServer
- DirAccess
- ENetConnection
- EditorContextMenuPlugin
- EditorDebuggerPlugin
- EditorDebuggerSession
- EditorExportPlatform (6)
- EditorExportPlugin
- EditorExportPreset
- EditorFeatureProfile
- EditorFileSystemImportFormatSupportQuery
- EditorInspectorPlugin
- EditorResourceConversionPlugin
- EditorResourcePreviewGenerator
- EditorResourceTooltipPlugin
- EditorSceneFormatImporter (4)
- EditorScenePostImport
- EditorScenePostImportPlugin
- EditorScript
- EditorTranslationParserPlugin
- EncodedObjectAsID
- EngineProfiler
- Expression
- FileAccess
- GLTFObjectModelProperty
- HMACContext
- HTTPClient
- HashingContext
- ImageFormatLoader (1)
- JavaClass
- JavaObject
- JavaScriptObject
- KinematicCollision2D
- KinematicCollision3D
- Lightmapper (1)
- MeshConvexDecompositionSettings
- MeshDataTool
- MultiplayerAPI (2)
- Mutex
- NavigationPathQueryParameters2D
- NavigationPathQueryParameters3D
- NavigationPathQueryResult2D
- NavigationPathQueryResult3D
- Node3DGizmo (1)
- OggPacketSequencePlayback
- OpenXRAPIExtension
- PCKPacker
- PackedDataContainerRef
- PacketPeer (8)
- PhysicsPointQueryParameters2D
- PhysicsPointQueryParameters3D
- PhysicsRayQueryParameters2D
- PhysicsRayQueryParameters3D
- PhysicsShapeQueryParameters2D
- PhysicsShapeQueryParameters3D
- PhysicsTestMotionParameters2D
- PhysicsTestMotionParameters3D
- PhysicsTestMotionResult2D
- PhysicsTestMotionResult3D
- RDAttachmentFormat
- RDFramebufferPass
- RDPipelineColorBlendState
- RDPipelineColorBlendStateAttachment
- RDPipelineDepthStencilState
- RDPipelineMultisampleState
- RDPipelineRasterizationState
- RDPipelineSpecializationConstant
- RDSamplerState
- RDShaderSource
- RDTextureFormat
- RDTextureView
- RDUniform
- RDVertexAttribute
- RandomNumberGenerator
- RegEx
- RegExMatch
- RenderSceneBuffers (2)
- RenderSceneBuffersConfiguration
- Resource (103)
- ResourceFormatLoader
- ResourceFormatSaver
- ResourceImporter (16)
- SceneState
- SceneTreeTimer
- Semaphore
- SkinReference
- StreamPeer (5)
- SurfaceTool
- TCPServer
- TLSOptions
- TextLine
- TextParagraph
- TextServer (1)
- Thread
- TranslationDomain
- TriangleMesh
- Tween
- Tweener (5)
- UDPServer
- UPNP
- UPNPDevice
- WeakRef
- WebRTCPeerConnection (1)
- XMLParser
- XRInterface (4)
- XRPose
- XRTracker (2)
- ZIPPacker
- ZIPReader
EditorScenePostImportPlugin

Table of contents

EditorScenePostImportPlugin #

is_refcounted, is_instantiable, editor, not_builtin_classes

Plugin to control and modifying the process of importing a scene.

This plugin type exists to modify the process of importing scenes, allowing to change the content as well as add importer options at every stage of the process.

Members #

Methods #

virtual func _get_import_options(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.

virtual func _get_internal_import_options(category: int) -> void#

Override to add internal import options. These will appear in the 3D scene import dialog. Add options via add_import_option and add_import_option_advanced.

virtual const func _get_internal_option_update_view_required(option: String) -> Variant#

Should return true if the 3D view of the import dialog needs to update when changing the given option.

virtual const func _get_internal_option_visibility(option: String) -> Variant#

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

virtual const func _get_option_visibility(option: String) -> Variant#

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

virtual func _internal_process(resource: Resource) -> void#

Process a specific node or resource for a given category.

virtual func _post_process(scene: Node) -> void#

Post process the scene. This function is called after the final scene has been configured.

virtual func _pre_process(scene: Node) -> void#

Pre Process the scene. This function is called right after the scene format loader loaded the scene and no changes have been made.

Pre process may be used to adjust internal import options in the "nodes", "meshes", "animations" or "materials" keys inside get_option_value("_subresources").

func add_import_option(value: Variant) -> void#

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

func add_import_option_advanced(usage_flags: int = 6) -> void#

Add a specific import option. This function can only be called from _get_import_options and _get_internal_import_options.

const func get_option_value(name: StringName) -> Variant#

Query the value of an option. This function can only be called from those querying visibility, or processing.

Annotations #

Constants #

const INTERNAL_IMPORT_CATEGORY_NODE = 0 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_MESH_3D_NODE = 1 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_MESH = 2 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_MATERIAL = 3 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_ANIMATION = 4 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_ANIMATION_NODE = 5 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_SKELETON_3D_NODE = 6 enum InternalImportCategory#

const INTERNAL_IMPORT_CATEGORY_MAX = 7 enum InternalImportCategory#

Constructors #

Enums #

InternalImportCategory#

enum InternalImportCategory { INTERNAL_IMPORT_CATEGORY_NODE = 0, INTERNAL_IMPORT_CATEGORY_MESH_3D_NODE = 1, INTERNAL_IMPORT_CATEGORY_MESH = 2, INTERNAL_IMPORT_CATEGORY_MATERIAL = 3, INTERNAL_IMPORT_CATEGORY_ANIMATION = 4, INTERNAL_IMPORT_CATEGORY_ANIMATION_NODE = 5, INTERNAL_IMPORT_CATEGORY_SKELETON_3D_NODE = 6, INTERNAL_IMPORT_CATEGORY_MAX = 7, }

Operators #

Signals #

Theme Items #

Tutorials #