载入中...
搜索中...
未找到
eve::avatar::ILive2DBackend类 参考abstract
Optional Live2D runtime backend (Cubism etc.). Registered from C++ / plugins. 更多...
#include <AvatarInstance.h>
类 eve::avatar::ILive2DBackend 继承关系图:
Public 成员函数 | |
| virtual | ~ILive2DBackend ()=default |
| virtual std::string | getName () const =0 |
| virtual bool | loadModel (const std::string &path)=0 |
| virtual void | update (float dt)=0 |
| virtual void | setParameter (const std::string &name, float value)=0 |
| virtual float | getParameter (const std::string &name) const =0 |
| virtual bool | setExpression (const std::string &name)=0 |
| virtual bool | setMotion (const std::string &name)=0 |
| virtual void | collectDrawItems (std::vector< graphics::DrawItem2D > &) |
| Optional: push drawables into the 2D queue. Default no-op. | |
详细描述
Optional Live2D runtime backend (Cubism etc.). Registered from C++ / plugins.
在文件 AvatarInstance.h 第 30 行定义.
构造及析构函数说明
◆ ~ILive2DBackend()
|
virtualdefault |
成员函数说明
◆ collectDrawItems()
|
inlinevirtual |
Optional: push drawables into the 2D queue. Default no-op.
在文件 AvatarInstance.h 第 41 行定义.
◆ getName()
|
pure virtual |
◆ getParameter()
|
pure virtual |
◆ loadModel()
|
pure virtual |
◆ setExpression()
|
pure virtual |
◆ setMotion()
|
pure virtual |
在 eve::avatar::NullLive2DBackend 内被实现.
◆ setParameter()
|
pure virtual |
◆ update()
|
pure virtual |
在 eve::avatar::NullLive2DBackend 内被实现.
该类的文档由以下文件生成:
- src/modules/avatar/AvatarInstance.h