QuaternionAnimation QML Type

PropertyAnimation詳細...

Import Statement: import Qt3D.Core 2.8
Inherits:

PropertyAnimation

Status: Deprecated

詳細な説明

2 つのquaternions の間のアニメーションを定義する特殊なPropertyAnimation です。

デフォルトでは、球面線形補間が使用されます。これは、type プロパティを設定することで、より高速だが精度の低い正規化線形補間に変更できます。

fromto プロパティでクォータニオンを直接指定する代わりに、fromXRotation,toXRotation,fromYRotation,toYRotation,fromZRotation,toZRotation プロパティでオイラー角を度単位で指定することも可能です。

注: クォータニオンとオイラー角ベースのプロパティの混在は避けてください。fromとtoの値は、クォータニオンか3つのオイラー角で完全に指定されることが期待されます。

Qt Quick,QQuaternion,QQuaternion::slerp(),QQuaternion::nlerp()のアニメーションとトランジションも参照してください

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