En esta página

QSSGCameraHelpers Class

Clase que contiene funciones auxiliares para obtener los datos de la cámara que se utilizan para el renderizado. Más...

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

Miembros públicos estáticos

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

Descripción detallada

Documentación de las funciones miembro

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

Obtiene la matriz de proyección para cameraId. Se puede proporcionar un argumento de transformación opcional para utilizarlo en lugar de la transformación global de la cámara a la hora de calcular la matriz de proyección.

Devuelve la matriz de proyección para cameraId

globalTransform

Véase también 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.