QSSGCameraHelpers Class

Klasse mit Hilfsfunktionen zum Abrufen von Kameradaten für das Rendering. Mehr...

Header: #include <QSSGCameraHelpers>
Since: Qt 6.7

Statische öffentliche Mitglieder

QMatrix4x4 getViewProjectionMatrix(const QSSGCameraId cameraId, const QMatrix4x4 *globalTransform = nullptr)

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

[static] QMatrix4x4 QSSGCameraHelpers::getViewProjectionMatrix(const QSSGCameraId cameraId, const QMatrix4x4 *globalTransform = nullptr)

Ermittelt die Projektionsmatrix für cameraId. Es kann ein optionales Transformationsargument angegeben werden, das bei der Berechnung der Projektionsmatrix anstelle der globalen Transformation der Kamera verwendet wird.

Liefert die Projektionsmatrix für cameraId

globalTransform

Siehe auch QSSGRenderHelpers::createRenderables().

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