Qt3DAnimation::QAnimationCallback Class
class Qt3DAnimation::QAnimationCallbackアニメーションのコールバックオブジェクトを表します。詳細...
| ヘッダー: | #include <qanimationcallback.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
| qmake: | QT += 3danimation |
| ステータス: | テクノロジープレビュー |
このクラスはテクノロジープレビュー段階にあり、変更される可能性があります。
パブリック型
パブリック関数
| virtual void | valueChanged(const QVariant &value) = 0 |
メンバー型のドキュメント
enum QAnimationCallback::Flag
flags QAnimationCallback::Flags
valueChanged() 関数の呼び出し方法を示すフラグ。
| 定数 | 値 | 説明 |
|---|---|---|
Qt3DAnimation::QAnimationCallback::OnOwningThread | 0x0 | コールバック関数は、所有スレッド(GUI スレッドまたはメインスレッド)で呼び出されます。 |
Qt3DAnimation::QAnimationCallback::OnThreadPool | 0x01 | コールバック関数は、スレッドプールのワーカースレッドで呼び出されます。 |
Flags 型は、QFlags<Flag> の typedef です。Flag 値の OR 組み合わせを格納します。
メンバ関数のドキュメント
[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)
アニメーション化されたvalue の変更時に呼び出されるコールバック関数。
QCallbackMapping::setCallback()も参照してください 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.