QuaternionAnimation QML Type
쿼터니언의 경우 PropertyAnimation. 더 보기...
Import Statement: | import QtQuick3D |
Inherits: |
속성
- from : quaternion
- fromXRotation : real
- fromYRotation : real
- fromZRotation : real
- to : quaternion
- toXRotation : real
- toYRotation : real
- toZRotation : real
- type : enumeration
자세한 설명
두 개의 quaternions 사이의 애니메이션을 정의하는 특수 PropertyAnimation.
기본적으로 구형 선형 보간이 사용됩니다. type 속성을 설정하여 더 빠르지만 정확도가 떨어지는 정규화된 선형 보간으로 변경할 수 있습니다.
from 및 to 속성에서 쿼터니언을 직접 지정하는 대신 fromXRotation, toXRotation, fromYRotation, toYRotation, fromZRotation, toZRotation 속성에서 오일러 각을 도 단위로 지정할 수도 있습니다.
참고: 쿼터니언과 오일러 각도 기반 프로퍼티를 혼용하지 마세요. 시작 및 끝 값은 쿼터니언 또는 세 개의 오일러 각을 통해 완전히 지정해야 합니다.
Qt Quick, QQuaternion, QQuaternion::slerp() 및 QQuaternion::nlerp()의 애니메이션 및 트랜지션을참조하십시오 .
프로퍼티 문서
from : quaternion |
이 프로퍼티에는 애니메이션의 시작 값이 저장됩니다.
fromXRotation : real |
이 프로퍼티는 X축 애니메이션의 시작 값을 도 단위의 오일러 각으로 저장합니다.
fromYRotation : real |
이 프로퍼티는 Y축 애니메이션의 시작값을 오일러 각도(도)로 저장합니다.
fromZRotation : real |
이 프로퍼티는 Z 축 애니메이션의 시작 값을 도 단위의 오일러 각도로 저장합니다.
to : quaternion |
이 속성은 애니메이션의 종료 값을 저장합니다.
toXRotation : real |
이 속성은 X 축에 대한 애니메이션의 끝값을 오일러 각도(도)로 저장합니다.
toYRotation : real |
이 속성은 Y 축에 대한 애니메이션의 끝값을 오일러 각도(도)로 저장합니다.
toZRotation : real |
이 프로퍼티는 Z 축에 대한 애니메이션의 끝값을 도 단위의 오일러 각도로 저장합니다.
type : enumeration |
이 프로퍼티는 보간 모드를 정의합니다.
Constant | 설명 |
---|---|
QuaternionAnimation.Slerp | 구형 선형 보간. |
QuaternionAnimation.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.