|
gldemo
|
Public Member Functions | |
| QString | name () const override |
| 该类型的名称,应由子类重写 | |
| void | onUpdate () override |
| 每帧被调用一次 | |
Public Member Functions inherited from Component | |
| virtual void | onPropertyChange (const QString &key, const QVariant &original) |
| 有属性被更改时被调用一次 | |
| QVariant | getProp (const QString &key) |
| 获取属性的值 | |
| void | setProp (const QString &key, const QVariant &value) |
| 改变属性的值 | |
| std::vector< QString > | getPropKeys () |
| 获取所有键 | |
Additional Inherited Members | |
Public Attributes inherited from Component | |
| HierarchyObject * | hierarchyObject |
| 指向这个组件挂载的对象 | |
Protected Member Functions inherited from Component | |
| void | defProp (const QString &key, const QVariant &init) |
| 定义属性,应当只在子类的构造函数中使用 | |
Protected Attributes inherited from Component | |
| std::map< QString, QVariant > | properties |
| 所有非默认参数的键值对 | |
| std::vector< QString > | propertyKeys |
| 所有非默认参数的键 | |