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

Property sheet descriptors + values (host renders via ui). 更多...

#include <EditorInspector.h>

Public 成员函数

void clear ()
 Clears .
 
void addFloat (const std::string &id, const std::string &label, float value, float minV, float maxV, float step)
 Adds float.
 
void addFloat3 (const std::string &id, const std::string &label, float x, float y, float z)
 Adds float 3.
 
void addBool (const std::string &id, const std::string &label, bool value)
 Adds bool.
 
void addString (const std::string &id, const std::string &label, const std::string &value)
 Adds string.
 
void addChoice (const std::string &id, const std::string &label, const std::string &choicesCsv, const std::string &selected)
 Adds choice.
 
int getFieldCount () const
 Returns the field count.
 
std::string getFieldKind (int index) const
 Returns the field kind.
 
std::string getFieldId (int index) const
 Returns the field id.
 
std::string getFieldLabel (int index) const
 Returns the field label.
 
float getFloat (const std::string &id) const
 Returns the float.
 
void setFloat (const std::string &id, float value)
 Sets the float.
 
float getFloatMin (const std::string &id) const
 Returns the float min.
 
float getFloatMax (const std::string &id) const
 Returns the float max.
 
float getFloatStep (const std::string &id) const
 Returns the float step.
 
float getFloat3X (const std::string &id) const
 Returns the float 3 x.
 
float getFloat3Y (const std::string &id) const
 Returns the float 3 y.
 
float getFloat3Z (const std::string &id) const
 Returns the float 3 z.
 
void setFloat3 (const std::string &id, float x, float y, float z)
 Sets the float 3.
 
bool getBool (const std::string &id) const
 Returns the bool.
 
void setBool (const std::string &id, bool value)
 Sets the bool.
 
std::string getString (const std::string &id) const
 Returns the string.
 
void setString (const std::string &id, const std::string &value)
 Sets the string.
 
std::string getChoice (const std::string &id) const
 Returns the choice.
 
void setChoice (const std::string &id, const std::string &value)
 Sets the choice.
 
std::string getChoicesCsv (const std::string &id) const
 Returns the choices csv.
 
bool isDirty (const std::string &id) const
 True when dirty.
 
void clearDirty (const std::string &id)
 Clears dirty.
 
void clearAllDirty ()
 Clears all dirty.
 
std::string pollChangedId ()
 Returns next dirty field id, or "" if none.
 

详细描述

Property sheet descriptors + values (host renders via ui).

在文件 EditorInspector.h 第 11 行定义.

成员函数说明

◆ addBool()

void eve::editor::EditorInspector::addBool ( const std::string &  id,
const std::string &  label,
bool  value 
)

Adds bool.

在文件 EditorInspector.cpp 第 56 行定义.

引用了 f, id, label , 以及 value.

◆ addChoice()

void eve::editor::EditorInspector::addChoice ( const std::string &  id,
const std::string &  label,
const std::string &  choicesCsv,
const std::string &  selected 
)

Adds choice.

在文件 EditorInspector.cpp 第 77 行定义.

引用了 f, id , 以及 label.

◆ addFloat()

void eve::editor::EditorInspector::addFloat ( const std::string &  id,
const std::string &  label,
float  value,
float  minV,
float  maxV,
float  step 
)

Adds float.

在文件 EditorInspector.cpp 第 29 行定义.

引用了 f, id, label, step , 以及 value.

◆ addFloat3()

void eve::editor::EditorInspector::addFloat3 ( const std::string &  id,
const std::string &  label,
float  x,
float  y,
float  z 
)

Adds float 3.

在文件 EditorInspector.cpp 第 43 行定义.

引用了 f, id, label, x, y , 以及 z.

◆ addString()

void eve::editor::EditorInspector::addString ( const std::string &  id,
const std::string &  label,
const std::string &  value 
)

Adds string.

在文件 EditorInspector.cpp 第 66 行定义.

引用了 f, id, label , 以及 value.

◆ clear()

void eve::editor::EditorInspector::clear ( )

Clears .

在文件 EditorInspector.cpp 第 7 行定义.

◆ clearAllDirty()

void eve::editor::EditorInspector::clearAllDirty ( )

Clears all dirty.

在文件 EditorInspector.cpp 第 224 行定义.

引用了 f.

◆ clearDirty()

void eve::editor::EditorInspector::clearDirty ( const std::string &  id)

Clears dirty.

在文件 EditorInspector.cpp 第 219 行定义.

引用了 f.

◆ getBool()

bool eve::editor::EditorInspector::getBool ( const std::string &  id) const

Returns the bool.

在文件 EditorInspector.cpp 第 163 行定义.

引用了 f.

◆ getChoice()

std::string eve::editor::EditorInspector::getChoice ( const std::string &  id) const

Returns the choice.

在文件 EditorInspector.cpp 第 193 行定义.

引用了 f.

◆ getChoicesCsv()

std::string eve::editor::EditorInspector::getChoicesCsv ( const std::string &  id) const

Returns the choices csv.

在文件 EditorInspector.cpp 第 208 行定义.

引用了 f.

◆ getFieldCount()

int eve::editor::EditorInspector::getFieldCount ( ) const
inline

Returns the field count.

在文件 EditorInspector.h 第 30 行定义.

◆ getFieldId()

std::string eve::editor::EditorInspector::getFieldId ( int  index) const

Returns the field id.

在文件 EditorInspector.cpp 第 94 行定义.

引用了 index.

◆ getFieldKind()

std::string eve::editor::EditorInspector::getFieldKind ( int  index) const

Returns the field kind.

在文件 EditorInspector.cpp 第 89 行定义.

引用了 index.

◆ getFieldLabel()

std::string eve::editor::EditorInspector::getFieldLabel ( int  index) const

Returns the field label.

在文件 EditorInspector.cpp 第 99 行定义.

引用了 index.

◆ getFloat()

float eve::editor::EditorInspector::getFloat ( const std::string &  id) const

Returns the float.

在文件 EditorInspector.cpp 第 105 行定义.

引用了 f.

◆ getFloat3X()

float eve::editor::EditorInspector::getFloat3X ( const std::string &  id) const

Returns the float 3 x.

在文件 EditorInspector.cpp 第 136 行定义.

引用了 f.

◆ getFloat3Y()

float eve::editor::EditorInspector::getFloat3Y ( const std::string &  id) const

Returns the float 3 y.

在文件 EditorInspector.cpp 第 141 行定义.

引用了 f.

◆ getFloat3Z()

float eve::editor::EditorInspector::getFloat3Z ( const std::string &  id) const

Returns the float 3 z.

在文件 EditorInspector.cpp 第 146 行定义.

引用了 f.

◆ getFloatMax()

float eve::editor::EditorInspector::getFloatMax ( const std::string &  id) const

Returns the float max.

在文件 EditorInspector.cpp 第 125 行定义.

引用了 f.

◆ getFloatMin()

float eve::editor::EditorInspector::getFloatMin ( const std::string &  id) const

Returns the float min.

在文件 EditorInspector.cpp 第 120 行定义.

引用了 f.

◆ getFloatStep()

float eve::editor::EditorInspector::getFloatStep ( const std::string &  id) const

Returns the float step.

在文件 EditorInspector.cpp 第 130 行定义.

引用了 f.

◆ getString()

std::string eve::editor::EditorInspector::getString ( const std::string &  id) const

Returns the string.

在文件 EditorInspector.cpp 第 178 行定义.

引用了 f.

◆ isDirty()

bool eve::editor::EditorInspector::isDirty ( const std::string &  id) const

True when dirty.

在文件 EditorInspector.cpp 第 214 行定义.

引用了 f.

◆ pollChangedId()

std::string eve::editor::EditorInspector::pollChangedId ( )

Returns next dirty field id, or "" if none.

在文件 EditorInspector.cpp 第 229 行定义.

引用了 dirty , 以及 n.

◆ setBool()

void eve::editor::EditorInspector::setBool ( const std::string &  id,
bool  value 
)

Sets the bool.

在文件 EditorInspector.cpp 第 169 行定义.

引用了 f , 以及 value.

◆ setChoice()

void eve::editor::EditorInspector::setChoice ( const std::string &  id,
const std::string &  value 
)

Sets the choice.

在文件 EditorInspector.cpp 第 199 行定义.

引用了 f , 以及 value.

◆ setFloat()

void eve::editor::EditorInspector::setFloat ( const std::string &  id,
float  value 
)

Sets the float.

在文件 EditorInspector.cpp 第 111 行定义.

引用了 f , 以及 value.

◆ setFloat3()

void eve::editor::EditorInspector::setFloat3 ( const std::string &  id,
float  x,
float  y,
float  z 
)

Sets the float 3.

在文件 EditorInspector.cpp 第 152 行定义.

引用了 f, x, y , 以及 z.

◆ setString()

void eve::editor::EditorInspector::setString ( const std::string &  id,
const std::string &  value 
)

Sets the string.

在文件 EditorInspector.cpp 第 184 行定义.

引用了 f , 以及 value.


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