QClipAnimator Class
class Qt3DAnimation::QClipAnimatorQClipAnimator는 간단한 애니메이션 재생 기능을 제공하는 컴포넌트입니다. 더 보기...
Header: | #include <QClipAnimator> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
qmake: | QT += 3danimation |
QML에서: | ClipAnimator |
상속합니다: | Qt3DAnimation::QAbstractClipAnimator |
상태: | Deprecated |
속성
- clip : Qt3DAnimation::QAbstractAnimationClip*
공용 기능
Qt3DAnimation::QAbstractAnimationClip * | clip() const |
공용 슬롯
void | setClip(Qt3DAnimation::QAbstractAnimationClip *clip) |
신호
void | clipChanged(Qt3DAnimation::QAbstractAnimationClip *clip) |
상세 설명
애니메이션 클립을 재생하고 계산된 애니메이션 값을 QObject의 프로퍼티에 적용하는 기능을 추가하기 위해 QEntity로 QClipAnimator의 인스턴스를 집계할 수 있습니다.
애니메이션 키 프레임 데이터는 클립 속성을 통해 제공됩니다. 이는 QAnimationClip 을 사용하여 프로그래밍 방식으로 생성하거나 QAnimationClipLoader 을 사용하여 파일에서 로드할 수 있습니다.
애니메이션 클립의 데이터 채널에서 재생된 값을 적용하려면 클립 애니메이터에 채널맵퍼 속성에 할당된 QChannelMapper 개체가 있어야 합니다.
애니메이터를 제어하기 위한 속성은 QAbstractClipAnimator 베이스 클래스에서 제공합니다.
Qt3DAnimation::QAbstractClipAnimator, Qt3DAnimation::QAbstractAnimationClip, Qt3DAnimation::QChannelMapper, Qt3DAnimation::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.