QSSGCameraHelpers Class
Classe contenant des fonctions d'aide pour obtenir les données de la caméra utilisées pour le rendu. Plus d'informations...
| Header: | #include <QSSGCameraHelpers> |
| Since: | Qt 6.7 |
Membres publics statiques
| QMatrix4x4 | getViewProjectionMatrix(const QSSGCameraId cameraId, const QMatrix4x4 *globalTransform = nullptr) |
Documentation des fonctions membres
[static] QMatrix4x4 QSSGCameraHelpers::getViewProjectionMatrix(const QSSGCameraId cameraId, const QMatrix4x4 *globalTransform = nullptr)
Obtenir la matrice de projection pour cameraId. Un argument optionnel transform peut être donné pour être utilisé à la place de la transformée globale des caméras lors du calcul de la matrice de projection.
Retourne la matrice de projection pour cameraId
globalTransform
Voir aussi QSSGRenderHelpers::createRenderables().
© 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.