FrameAction QML Type
매 프레임마다 동기식 함수를 실행하는 방법을 제공합니다. 더 보기...
Import Statement: | import Qt3D.Logic 2.8 |
In C++: | QFrameAction |
Inherits: | |
Status: | Deprecated |
시그널
- triggered(real dt)
상세 설명
프레임 액션은 Qt3D 백엔드와 동기화된 방식으로 각 프레임에서 작업을 수행하는 방법을 제공합니다. 이는 애플리케이션 로직의 일부 측면을 구현하고 나중에 추가 Qt3D 측면으로 접을 수 있는 기능을 프로토타이핑하는 데 유용합니다.
예를 들어, FrameAction은 Qt Quick 애니메이션 요소가 완벽하게 동기화되지 않아 경우에 따라 끊김 현상이 발생할 수 있는 Qt3D 엔진과 동기화하여 프로퍼티에 애니메이션을 적용하는 데 사용할 수 있습니다.
자체 코드를 실행하려면 각 프레임마다 FrameAction::triggered 신호에 연결하세요.
신호 문서
triggered(real dt) |
이 신호는 마지막 트리거 이후 시간(초)을 dt 으로 하여 매 프레임마다 전송됩니다.
참고: 해당 핸들러는 onTriggered
입니다.
© 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.