QAnimationCallback Class

class Qt3DAnimation::QAnimationCallback

애니메이션 콜백 객체를 나타냅니다. 더 보기...

헤더: #include <QAnimationCallback>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake: QT += 3danimation
상태: 폐지됨

공용 타입

enum Flag { OnOwningThread, OnThreadPool }
flags Flags

공용 함수

virtual void valueChanged(const QVariant &value) = 0

상세 설명

멤버 유형 문서

열거형 QAnimationCallback::Flag
플래그 QAnimationCallback::Flags

valueChanged() 함수의 호출 방법을 나타내는 플래그입니다.

Constant설명
Qt3DAnimation::QAnimationCallback::OnOwningThread0x0콜백 함수는 소유(GUI 또는 메인) 스레드에서 호출됩니다.
Qt3DAnimation::QAnimationCallback::OnThreadPool0x01콜백 함수는 스레드 풀의 워커 스레드에서 호출됩니다.

Flags 유형은 QFlags<Flag>에 대한 typedef입니다. 이 함수는 Flag 값의 OR 조합을 저장합니다.

멤버 함수 문서

[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)

애니메이션의 변경 시 트리거되는 콜백 함수 value.

QCallbackMapping::setCallback()도 참조하세요 .

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