QAnimationClipLoader Class

(Qt3DAnimation::QAnimationClipLoader)

公有类型

enum Status { NotReady, Ready, Error }

属性

公有函数

QAnimationClipLoader(Qt3DCore::QNode *parent = nullptr)
QAnimationClipLoader(const QUrl &source, Qt3DCore::QNode *parent = nullptr)
~QAnimationClipLoader()
QUrl source() const
Status status() const

公有槽函数

void setSource(const QUrl &source)

信号

void sourceChanged(const QUrl &source)
void statusChanged(Status status)

受保护的函数

QAnimationClipLoader(QAnimationClipLoaderPrivate &dd, Qt3DCore::QNode *parent = nullptr)
void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)

其他继承的成员

  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 2 个受保护的变量继承自 QObject

成员类型

enum QAnimationClipLoader::Status

属性

source : QUrl

访问函数:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

status : const Status

访问函数:

Status status() const

Notifier signal:

void statusChanged(Status status)

成员函数

QAnimationClipLoader::QAnimationClipLoader(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QAnimationClipLoader.

QAnimationClipLoader::QAnimationClipLoader(const QUrl &source, Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QAnimationClipLoader.

[protected] QAnimationClipLoader::QAnimationClipLoader(QAnimationClipLoaderPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Copy constructor.

QAnimationClipLoader::~QAnimationClipLoader()

Destroys the instance of QAnimationClipLoader.

[protected] void QAnimationClipLoader::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)