이 페이지에서

Qt3DAnimation::QAnimationCallback Class

class Qt3DAnimation::QAnimationCallback

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

헤더: #include <qanimationcallback.h>
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

자세한 설명

멤버 유형 설명

enum QAnimationCallback::Flag
flags QAnimationCallback::Flags

valueChanged() 함수가 어떻게 호출되는지를 나타내는 플래그입니다.

상수값설명
Qt3DAnimation::QAnimationCallback::OnOwningThread0x0콜백 함수는 소유 스레드(GUI 또는 메인)에서 호출됩니다.
Qt3DAnimation::QAnimationCallback::OnThreadPool0x01콜백 함수가 스레드 풀의 작업자 스레드에서 호출됩니다.

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

멤버 함수 설명

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

애니메이션된 value 의 변경 사항에 대해 호출되는 콜백 함수입니다.

QCallbackMapping::setCallback()도 참조하십시오 .

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