KeyframeAnimation QML Type
Transform に対するシンプルなキーフレームアニメーションを実装する型です。詳細...
| Import Statement: | import Qt3D.Animation 2.12 |
| In C++: | QKeyframeAnimation |
| Inherits: | |
| Status: | Technology preview |
この型はテクノロジープレビュー段階にあり、変更される可能性があります。
プロパティ
- easing : EasingCurve
- endMode : enumeration
- framePositions : list<real>
- keyframes : list<Transform>
- startMode : enumeration
- target : Transform
- targetName : string
詳細な説明
KeyframeAnimation型は、Transform のアニメーション化に使用できるシンプルなキーフレームアニメーションを実装しています。キーフレームは、複数の時間指定されたQt3D.Core::Transformで構成され、これらが補間されてターゲットのTransformに適用されます。キーフレーム間では、EasingCurveを使用して補間を制御します。 KeyframeAnimationに設定された位置が、キーフレームの位置で定義された値より小さい、または大きい場合について、RepeatModeを設定できます。
プロパティのドキュメント
easing : EasingCurve
キーフレーム間の補間関数の緩和曲線を保持します。
endMode : enumeration
前回のフレーム位置よりも大きい位置値について、リピートモードを維持します。
- なし
- 定数
- リピート
framePositions : list<real>
キーフレームの位置を保持します。リスト内の各位置は、対応するキーフレームの位置を指定します。値は昇順で並んでいる必要があります。値は正または負の値をとることができ、あらかじめ定義された単位はありません。
keyframes : list<Transform>
キーフレームアニメーションに含まれるキーフレームのリストを保持します。
startMode : enumeration
最初のフレーム位置より小さい位置値について、リピートモードを保持します。
- なし
- 定数
- リピート
target : Transform
アニメーションが適用されるターゲットのトランスフォームを保持します。
targetName : string
ターゲットトランスフォームの名前を保持します。これは、ターゲットトランスフォームをキーフレームアニメーションと照合しやすくするための便宜上のプロパティです。通常、この名前はターゲットトランスフォームの親エンティティの名前と同じですが、必ずしもそうである必要はありません。
© 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.