Property sheet descriptors + values (host renders via ui).
更多...
#include <EditorInspector.h>
Public 成员函数 | |
| void | clear () |
| void | addFloat (const std::string &id, const std::string &label, float value, float minV, float maxV, float step) |
| void | addFloat3 (const std::string &id, const std::string &label, float x, float y, float z) |
| void | addBool (const std::string &id, const std::string &label, bool value) |
| void | addString (const std::string &id, const std::string &label, const std::string &value) |
| void | addChoice (const std::string &id, const std::string &label, const std::string &choicesCsv, const std::string &selected) |
| int | getFieldCount () const |
| std::string | getFieldKind (int index) const |
| std::string | getFieldId (int index) const |
| std::string | getFieldLabel (int index) const |
| float | getFloat (const std::string &id) const |
| void | setFloat (const std::string &id, float value) |
| float | getFloatMin (const std::string &id) const |
| float | getFloatMax (const std::string &id) const |
| float | getFloatStep (const std::string &id) const |
| float | getFloat3X (const std::string &id) const |
| float | getFloat3Y (const std::string &id) const |
| float | getFloat3Z (const std::string &id) const |
| void | setFloat3 (const std::string &id, float x, float y, float z) |
| bool | getBool (const std::string &id) const |
| void | setBool (const std::string &id, bool value) |
| std::string | getString (const std::string &id) const |
| void | setString (const std::string &id, const std::string &value) |
| std::string | getChoice (const std::string &id) const |
| void | setChoice (const std::string &id, const std::string &value) |
| std::string | getChoicesCsv (const std::string &id) const |
| bool | isDirty (const std::string &id) const |
| void | clearDirty (const std::string &id) |
| void | clearAllDirty () |
| std::string | pollChangedId () |
| Returns next dirty field id, or "" if none. | |
详细描述
Property sheet descriptors + values (host renders via ui).
在文件 EditorInspector.h 第 9 行定义.
成员函数说明
◆ addBool()
| void eve::editor::EditorInspector::addBool | ( | const std::string & | id, |
| const std::string & | label, | ||
| bool | value | ||
| ) |
在文件 EditorInspector.cpp 第 56 行定义.
◆ addChoice()
| void eve::editor::EditorInspector::addChoice | ( | const std::string & | id, |
| const std::string & | label, | ||
| const std::string & | choicesCsv, | ||
| const std::string & | selected | ||
| ) |
在文件 EditorInspector.cpp 第 77 行定义.
◆ addFloat()
| void eve::editor::EditorInspector::addFloat | ( | const std::string & | id, |
| const std::string & | label, | ||
| float | value, | ||
| float | minV, | ||
| float | maxV, | ||
| float | step | ||
| ) |
◆ addFloat3()
| void eve::editor::EditorInspector::addFloat3 | ( | const std::string & | id, |
| const std::string & | label, | ||
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
◆ addString()
| void eve::editor::EditorInspector::addString | ( | const std::string & | id, |
| const std::string & | label, | ||
| const std::string & | value | ||
| ) |
在文件 EditorInspector.cpp 第 66 行定义.
◆ clear()
| void eve::editor::EditorInspector::clear | ( | ) |
在文件 EditorInspector.cpp 第 7 行定义.
◆ clearAllDirty()
| void eve::editor::EditorInspector::clearAllDirty | ( | ) |
在文件 EditorInspector.cpp 第 224 行定义.
引用了 f.
◆ clearDirty()
| void eve::editor::EditorInspector::clearDirty | ( | const std::string & | id | ) |
在文件 EditorInspector.cpp 第 219 行定义.
引用了 f.
◆ getBool()
| bool eve::editor::EditorInspector::getBool | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 163 行定义.
引用了 f.
◆ getChoice()
| std::string eve::editor::EditorInspector::getChoice | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 193 行定义.
引用了 f.
◆ getChoicesCsv()
| std::string eve::editor::EditorInspector::getChoicesCsv | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 208 行定义.
引用了 f.
◆ getFieldCount()
|
inline |
在文件 EditorInspector.h 第 21 行定义.
◆ getFieldId()
| std::string eve::editor::EditorInspector::getFieldId | ( | int | index | ) | const |
在文件 EditorInspector.cpp 第 94 行定义.
◆ getFieldKind()
| std::string eve::editor::EditorInspector::getFieldKind | ( | int | index | ) | const |
在文件 EditorInspector.cpp 第 89 行定义.
◆ getFieldLabel()
| std::string eve::editor::EditorInspector::getFieldLabel | ( | int | index | ) | const |
在文件 EditorInspector.cpp 第 99 行定义.
◆ getFloat()
| float eve::editor::EditorInspector::getFloat | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 105 行定义.
引用了 f.
◆ getFloat3X()
| float eve::editor::EditorInspector::getFloat3X | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 136 行定义.
引用了 f.
◆ getFloat3Y()
| float eve::editor::EditorInspector::getFloat3Y | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 141 行定义.
引用了 f.
◆ getFloat3Z()
| float eve::editor::EditorInspector::getFloat3Z | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 146 行定义.
引用了 f.
◆ getFloatMax()
| float eve::editor::EditorInspector::getFloatMax | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 125 行定义.
引用了 f.
◆ getFloatMin()
| float eve::editor::EditorInspector::getFloatMin | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 120 行定义.
引用了 f.
◆ getFloatStep()
| float eve::editor::EditorInspector::getFloatStep | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 130 行定义.
引用了 f.
◆ getString()
| std::string eve::editor::EditorInspector::getString | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 178 行定义.
引用了 f.
◆ isDirty()
| bool eve::editor::EditorInspector::isDirty | ( | const std::string & | id | ) | const |
在文件 EditorInspector.cpp 第 214 行定义.
引用了 f.
◆ pollChangedId()
| std::string eve::editor::EditorInspector::pollChangedId | ( | ) |
◆ setBool()
| void eve::editor::EditorInspector::setBool | ( | const std::string & | id, |
| bool | value | ||
| ) |
在文件 EditorInspector.cpp 第 169 行定义.
◆ setChoice()
| void eve::editor::EditorInspector::setChoice | ( | const std::string & | id, |
| const std::string & | value | ||
| ) |
在文件 EditorInspector.cpp 第 199 行定义.
◆ setFloat()
| void eve::editor::EditorInspector::setFloat | ( | const std::string & | id, |
| float | value | ||
| ) |
在文件 EditorInspector.cpp 第 111 行定义.
◆ setFloat3()
| void eve::editor::EditorInspector::setFloat3 | ( | const std::string & | id, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
◆ setString()
| void eve::editor::EditorInspector::setString | ( | const std::string & | id, |
| const std::string & | value | ||
| ) |
在文件 EditorInspector.cpp 第 184 行定义.
该类的文档由以下文件生成:
- src/modules/editor/EditorInspector.h
- src/modules/editor/EditorInspector.cpp