载入中...
搜索中...
未找到
eve::editor::DeveloperPropertyPresenter类 参考

Shared presenter logic that exposes developer-oriented property rows. 更多...

#include <EditorPropertyPresenter.h>

Public 成员函数

PropertyPresentation present (const PropertySchema &schema, const SelectionSnapshot &selection, const IPropertyProvider &provider) const
 Read every schema property, including advanced/editor-only rows.
 
Result< PropertyEditIntent > editIntent (const PropertySchema &schema, const SelectionSnapshot &selection, const PropertyPath &path, const EditorValue &value, PropertySetMode mode=PropertySetMode::Absolute) const
 Validate a candidate and emit a command payload without mutating the provider.
 

详细描述

Shared presenter logic that exposes developer-oriented property rows.

在文件 EditorPropertyPresenter.h 第 32 行定义.

成员函数说明

◆ editIntent()

Result< PropertyEditIntent > eve::editor::DeveloperPropertyPresenter::editIntent ( const PropertySchema &  schema,
const SelectionSnapshot &  selection,
const PropertyPath &  path,
const EditorValue &  value,
PropertySetMode  mode = PropertySetMode::Absolute 
) const

Validate a candidate and emit a command payload without mutating the provider.

在文件 EditorPropertyPresenter.cpp 第 54 行定义.

引用了 path , 以及 value.

被这些函数引用 eve::editor::EditorPropertyModel::write().

◆ present()


该类的文档由以下文件生成: