DialogicCharacterEditorPortraitSection

This contains the source code documentation of the class DialogicCharacterEditorPortraitSection.

DialogicCharacterEditorPortraitSection

Inherits: Control

Base class for all portrait settings sections. Methods should be overriden. Changes made through fields in such a section should instantly be "saved" to the portrait_items metadata from where they will be saved to the resource.

Properties

Signals

signal changed ( )

Emit this, if something changed


signal update_preview ( )

Emit this if the preview should reload


Property Descriptions

var character_editor

Reference to the character editor, set when instantiated


var hint_text = ""

If not empty a hint icon is added to the section title


var selected_item = null

Reference to the selected portrait item. selected_item.get_metadata(0) can access the portraits data