EditorImportPluginGetOptionVisibility Method |
This method can be overridden to hide specific import options if conditions are met. This is mainly useful for hiding options that depend on others if one of them is disabled. For example:
func get_option_visibility(option, options): # Only show the lossy quality setting if the compression mode is set to "Lossy". if option == "compress/lossy_quality" and options.has("compress/mode"): return int(options["compress/mode"]) == COMPRESS_LOSSY return true
Return true to make all options always visible.
Namespace: Godot
public virtual bool GetOptionVisibility( string option, Dictionary options )
[Missing <param name="option"/> documentation for "M:Godot.EditorImportPlugin.GetOptionVisibility(System.String,Godot.Collections.Dictionary)"]
[Missing <param name="options"/> documentation for "M:Godot.EditorImportPlugin.GetOptionVisibility(System.String,Godot.Collections.Dictionary)"]
[Missing <returns> documentation for "M:Godot.EditorImportPlugin.GetOptionVisibility(System.String,Godot.Collections.Dictionary)"]