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
Name | Type | Default |
---|---|---|
character_editor | Control | |
selected_item | TreeItem | null |
hint_text | String | "" |
Signals
Emit this, if something changed
Emit this if the preview should reload
Property Descriptions
Reference to the character editor, set when instantiated
Reference to the selected portrait item. selected_item.get_metadata(0)
can access the portraits data
If not empty a hint icon is added to the section title