QClipAnimator Class

class Qt3DAnimation::QClipAnimator

QClipAnimator は、シンプルなアニメーション再生機能を提供するコンポーネントです。詳細...

ヘッダー #include <QClipAnimator>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake QT += 3danimation
QML で ClipAnimator
を継承しています: Qt3DAnimation::QAbstractClipAnimator
ステータス非推奨

プロパティ

  • clip : Qt3DAnimation::QAbstractAnimationClip*

パブリック機能

Qt3DAnimation::QAbstractAnimationClip *clip() const

パブリックスロット

void setClip(Qt3DAnimation::QAbstractAnimationClip *clip)

シグナル

void clipChanged(Qt3DAnimation::QAbstractAnimationClip *clip)

詳細説明

QClipAnimator のインスタンスを QEntity に集約して、アニメーション クリップを再生する機能を追加したり、計算されたアニメーション値を QObject のプロパティに適用したりできます。

アニメーションのキーフレーム データは、clip プロパティを通じて提供されます。これは、QAnimationClip を使用してプログラムで作成するか、QAnimationClipLoader を使用してファイルから読み込むことができます。

アニメーションクリップのデータのチャンネルから再生された値を適用するために、クリップアニメーターは、QChannelMapper オブジェクトを channelMapper プロパティに割り当てる必要があります。

アニメーターを制御するためのプロパティは、QAbstractClipAnimator 基本クラスが提供します。

Qt3DAnimation::QAbstractClipAnimatorQt3DAnimation::QAbstractAnimationClipQt3DAnimation::QChannelMapperQt3DAnimation::QBlendedClipAnimatorも参照して ください。

プロパティ・ドキュメント

clip : Qt3DAnimation::QAbstractAnimationClip*

このプロパティは、再生するキーフレームデータを含むアニメーションクリップを保持します。キーフレームデータは、QAnimationClip またはQAnimationClipLoader で指定できます。

アクセス関数

Qt3DAnimation::QAbstractAnimationClip *clip() const
void setClip(Qt3DAnimation::QAbstractAnimationClip *clip)

通知シグナル

void clipChanged(Qt3DAnimation::QAbstractAnimationClip *clip)

© 2025 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.