Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
InternalImportCategory
EditorScenePostImportPlugin.swift:19enum InternalImportCategory
Cases
Other members in extension
Type members
Instance members
func addImportOption(name: String, value: Variant
) Add a specific import option (name and default value only). This function can only be called from
_getImportOptions(path:)
and_getInternalImportOptions(category:)
.func addImportOptionAdvanced(type: Variant.GType, name: String, defaultValue: Variant, hint: PropertyHint, hintString: String, usageFlags: Int32
) Add a specific import option. This function can only be called from
_getImportOptions(path:)
and_getInternalImportOptions(category:)
.func getOptionValue(name: StringName
) -> Variant Query the value of an option. This function can only be called from those querying visibility, or processing.
Show implementation details (8)
Hide implementation details
func _getImportOptions(path: String
) Override to add general import options. These will appear in the main import dock on the editor. Add options via
addImportOption(name:value:)
andaddImportOptionAdvanced(type:name:defaultValue:hint:hintString:usageFlags:)
.func _getInternalImportOptions(category: Int32
) Override to add internal import options. These will appear in the 3D scene import dialog. Add options via
addImportOption(name:value:)
andaddImportOptionAdvanced(type:name:defaultValue:hint:hintString:usageFlags:)
.func _getInternalOptionUpdateViewRequired(category: Int32, option: String
) -> Variant Return true whether updating the 3D view of the import dialog needs to be updated if an option has changed.
func _getInternalOptionVisibility(category: Int32, forAnimation: Bool, option: String
) -> Variant Return true or false whether a given option should be visible. Return null to ignore.
func _getOptionVisibility(path: String, forAnimation: Bool, option: String
) -> Variant Return true or false whether a given option should be visible. Return null to ignore.
func _internalProcess(category: Int32, baseNode: Node?, node: Node?, resource: Resource?
) Process a specific node or resource for a given category.
func _postProcess(scene: Node?
) Post process the scene. This function is called after the final scene has been configured.
func _preProcess(scene: Node?
) Pre Process the scene. This function is called right after the scene format loader loaded the scene and no changes have been made.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.