FrameAction QML Type
フレームごとに同期関数を実行させる方法を提供する。詳細...
Import Statement: | import Qt3D.Logic 2.8 |
In C++: | QFrameAction |
Inherits: | |
Status: | Deprecated |
シグナル
- triggered(real dt)
詳しい説明
FrameAction は、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.