AbstractClipAnimator QML Type
AbstractClipAnimator は、アニメーション再生機能を提供する型の基底クラスです。詳細...
| Import Statement: | import Qt3D.Animation 2.12 |
| In C++: | QAbstractClipAnimator |
| Inherited By: | |
| Status: | Technology preview |
この型はテクノロジープレビュー段階にあり、変更される可能性があります。
プロパティ
- channelMapper : ChannelMapper
- clock : Clock
- loops : int
- normalizedTime : real
- running : bool
詳細な説明
AbstractClipAnimator のサブクラスは、エンティティによって集約され、アニメーション機能を提供することができます。アニメーターコンポーネントは、アニメーションを制御するためのインターフェース(開始、停止など)を提供します。 各アニメーター型には、AbstractAnimationClip などの何らかの形式のアニメーションデータに加え、アニメーションクリップ内のチャンネルを、アニメーション対象のオブジェクトのプロパティにどのようにマッピングするかを記述する ChannelMapper が必要です。
利用可能なサブクラスは以下の通りです:
- Qt3D.Animation.ClipAnimator
- Qt3D.Animation.BlendedClipAnimator
プロパティのドキュメント
channelMapper : ChannelMapper
このプロパティには、アニメーションクリップ内のチャンネルがターゲットオブジェクトのプロパティにどのようにマッピングされるかを制御する ChannelMapper が格納されています。
clock : Clock
時計は、アニメーションの再生速度を制御します。
loops : int
このプロパティは、アニメーションを再生する回数を指定します。
デフォルトでは、loops は 1 に設定されており、アニメーションは 1 回再生された後に停止します。
QAbstractClipAnimator::Infinite に設定すると、アニメーションは明示的に停止されるまで繰り返し再生されます。
normalizedTime : real
このプロパティには、クリップの正規化された時間が格納されます。
running : bool
このプロパティは、アニメーションが現在実行中であるかどうかを示すブール値を保持します。
© 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.