Auf dieser Seite

QSSGCameraHelpers Class

Klasse mit Hilfsfunktionen zum Abrufen von Kameradaten, die für das Rendering verwendet werden. Mehr...

Header: #include <qssgrenderhelpers.h>
Since: Qt 6.7

Statische öffentliche Mitglieder

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

Ausführliche Beschreibung

Dokumentation der Mitgliedsfunktionen

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

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

Gibt die Projektionsmatrix für cameraId

globalTransform

Siehe auch ` 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.