GeometryRenderer QML Type
Encapsula el renderizado de geometría. Más...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QGeometryRenderer |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- firstInstance : int
- firstVertex : int
- geometry : Geometry
- indexBufferByteOffset : int
- indexOffset : int
- instanceCount : int
- primitiveRestartEnabled : bool
- primitiveType : enumeration
- restartIndexValue : int
- sortIndex : real
(since 6.0) - vertexCount : int
- verticesPerPatch : int
Descripción detallada
Un GeometryRenderer contiene toda la información necesaria para dibujar una geometría. Una Geometría contiene las coordenadas de los datos geométricos - GeometryRenderer especifica cómo interpretar esos datos.
Documentación de propiedades
firstInstance : int
Contiene la instancia base.
firstVertex : int
Contiene el primer vértice.
geometry : Geometry
Mantiene la geometría.
indexBufferByteOffset : int
Contiene el desplazamiento de bytes en el búfer de índice.
indexOffset : int
Contiene el vértice base.
instanceCount : int
Contiene el recuento de instancias.
primitiveRestartEnabled : bool
Contiene el indicador de reinicio primitivo.
primitiveType : enumeration
Contiene el tipo de primitiva.
- QGeometryRenderer.Puntos
- QGeometryRenderer.Líneas
- QGeometryRenderer.LineLoop
- QGeometryRenderer.LineStrip
- QGeometryRenderer.Triángulos
- QGeometryRenderer.TriangleStrip
- QGeometryRenderer.TriangleFan
- QGeometryRenderer.LinesAdjacency
- QGeometryRenderer.TrianglesAdjacency
- QGeometryRenderer.LineStripAdjacency
- QGeometryRenderer.TriangleStripAdjacency
- QGeometryRenderer.Parches
Véase también Qt3DRender::QGeometryRenderer::PrimitiveType.
restartIndexValue : int
Contiene el índice de reinicio.
sortIndex : real [since 6.0]
Anula el índice de ordenación cuando está activada la ordenación por profundidad.
Si la ordenación por profundidad está activada en el gráfico de fotogramas, el renderizador ordenará los objetos en función de la distancia a la que se encuentra el centro del volumen delimitador de la cámara y renderizará los objetos desde el más lejano al más cercano.
Esta propiedad puede utilizarse para anular el índice de profundidad y controlar con precisión el orden en que se renderizan los objetos. Esto es útil cuando todos los objetos están a la misma distancia física de la cámara.
Los valores reales no son significativos, sólo que definen un orden para clasificar los objetos. Estos se ordenan de tal manera que el objeto con el valor más pequeño se dibuja primero, luego el segundo más pequeño, y así sucesivamente.
Nota: Si se establece a -1.f se desactivará la ordenación explícita para esta entidad y se volverá a utilizar la distancia desde el centro del volumen delimitador.
Esta propiedad se introdujo en Qt 6.0.
Véase también SortPolicy.
vertexCount : int
Contiene el recuento de vértices.
verticesPerPatch : int
Contiene vértices por parche.
© 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.