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

Shared presenter logic that exposes only runtime-safe property rows. 更多...

#include <EditorPropertyPresenter.h>

Public 成员函数

PropertyPresentation present (const PropertySchema &schema, const SelectionSnapshot &selection, const IPropertyProvider &provider, const HostProfile &profile) const
 Read properties marked Runtime and not marked EditorOnly.
 
Result< PropertyEditIntent > editIntent (const PropertySchema &schema, const SelectionSnapshot &selection, const PropertyPath &path, const EditorValue &value, const HostProfile &profile, PropertySetMode mode=PropertySetMode::Absolute) const
 Validate a runtime-visible candidate and emit the same command payload as developer UI.
 

详细描述

Shared presenter logic that exposes only runtime-safe property rows.

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

成员函数说明

◆ editIntent()

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

Validate a runtime-visible candidate and emit the same command payload as developer UI.

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

引用了 eve::editor::HostProfile::hasFeatures(), path , 以及 value.

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

◆ present()


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