载入中...
搜索中...
未找到
eve::avatar::NullLive2DBackend类 参考

Built-in Live2D placeholder backend (no Cubism SDK). Stores path / parameters / expression / motion so scripts and tests can run without a proprietary runtime. Replace via Avatar::registerLive2DBackend (see examples/live2d-backend-plugin). 更多...

#include <Live2DNullBackend.h>

类 eve::avatar::NullLive2DBackend 继承关系图:
eve::avatar::ILive2DBackend

Public 成员函数

std::string getName () const override
 
bool loadModel (const std::string &path) override
 
void update (float) override
 
void setParameter (const std::string &name, float value) override
 
float getParameter (const std::string &name) const override
 
bool setExpression (const std::string &name) override
 
bool setMotion (const std::string &name) override
 
std::string modelPath () const
 
std::string expression () const
 
std::string motion () const
 
- Public 成员函数 继承自 eve::avatar::ILive2DBackend
virtual ~ILive2DBackend ()=default
 
virtual void collectDrawItems (std::vector< graphics::DrawItem2D > &)
 Optional: push drawables into the 2D queue. Default no-op.
 

详细描述

Built-in Live2D placeholder backend (no Cubism SDK). Stores path / parameters / expression / motion so scripts and tests can run without a proprietary runtime. Replace via Avatar::registerLive2DBackend (see examples/live2d-backend-plugin).

在文件 Live2DNullBackend.h16 行定义.

成员函数说明

◆ expression()

std::string eve::avatar::NullLive2DBackend::expression ( ) const
inline

在文件 Live2DNullBackend.h47 行定义.

◆ getName()

std::string eve::avatar::NullLive2DBackend::getName ( ) const
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h18 行定义.

◆ getParameter()

float eve::avatar::NullLive2DBackend::getParameter ( const std::string &  name) const
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h31 行定义.

引用了 name.

◆ loadModel()

bool eve::avatar::NullLive2DBackend::loadModel ( const std::string &  path)
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h20 行定义.

◆ modelPath()

std::string eve::avatar::NullLive2DBackend::modelPath ( ) const
inline

在文件 Live2DNullBackend.h46 行定义.

◆ motion()

std::string eve::avatar::NullLive2DBackend::motion ( ) const
inline

在文件 Live2DNullBackend.h48 行定义.

◆ setExpression()

bool eve::avatar::NullLive2DBackend::setExpression ( const std::string &  name)
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h36 行定义.

引用了 name.

◆ setMotion()

bool eve::avatar::NullLive2DBackend::setMotion ( const std::string &  name)
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h41 行定义.

引用了 name.

◆ setParameter()

void eve::avatar::NullLive2DBackend::setParameter ( const std::string &  name,
float  value 
)
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h27 行定义.

引用了 name , 以及 value.

◆ update()

void eve::avatar::NullLive2DBackend::update ( float  )
inlineoverridevirtual

实现了 eve::avatar::ILive2DBackend.

在文件 Live2DNullBackend.h25 行定义.


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