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.

EditorFeatureProfile

Inherits: RefCounted < Object

An editor feature profile which can be used to disable specific features.

Description

An editor feature profile can be used to disable specific features of the Godot editor. When disabled, the features won't appear in the editor, which makes the editor less cluttered. This is useful in education settings to reduce confusion or when working in a team. For example, artists and level designers could use a feature profile that disables the script editor to avoid accidentally making changes to files they aren't supposed to edit.

To manage editor feature profiles visually, use Editor > Manage Feature Profiles... at the top of the editor window.

Methods

String

get_feature_name ( Feature feature )

bool

is_class_disabled ( StringName class_name ) const

bool

is_class_editor_disabled ( StringName class_name ) const

bool

is_class_property_disabled ( StringName class_name, StringName property ) const

bool

is_feature_disabled ( Feature feature ) const

Error

load_from_file ( String path )

Error

save_to_file ( String path )

void

set_disable_class ( StringName class_name, bool disable )

void

set_disable_class_editor ( StringName class_name, bool disable )

void

set_disable_class_property ( StringName class_name, StringName property, bool disable )

void

set_disable_feature ( Feature feature, bool disable )


Enumerations

enum Feature:

Feature FEATURE_3D = 0

The 3D editor. If this feature is disabled, the 3D editor won't display but 3D nodes will still display in the Create New Node dialog.

Feature FEATURE_SCRIPT = 1

The Script tab, which contains the script editor and class reference browser. If this feature is disabled, the Script tab won't display.

Feature FEATURE_ASSET_LIB = 2

The AssetLib tab. If this feature is disabled, the AssetLib tab won't display.

Feature FEATURE_SCENE_TREE = 3

Scene tree editing. If this feature is disabled, the Scene tree dock will still be visible but will be read-only.

Feature FEATURE_NODE_DOCK = 4

The Node dock. If this feature is disabled, signals and groups won't be visible and modifiable from the editor.

Feature FEATURE_FILESYSTEM_DOCK = 5

The FileSystem dock. If this feature is disabled, the FileSystem dock won't be visible.

Feature FEATURE_IMPORT_DOCK = 6

The Import dock. If this feature is disabled, the Import dock won't be visible.

Feature FEATURE_HISTORY_DOCK = 7

The History dock. If this feature is disabled, the History dock won't be visible.

Feature FEATURE_MAX = 8

Represents the size of the