CullFace QML Type
Der Typ CullFace gibt an, ob das Culling der Vorder- oder Rückseite aktiviert ist. Mehr...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QCullFace |
Inherits: | |
Status: | Deprecated |
Eigenschaften
- mode : enumeration
Detaillierte Beschreibung
CullFace legt fest, ob die vorderen oder hinteren Facetten herausgefiltert werden. Facetten umfassen Dreiecke, Vierecke, Polygone und Rechtecke.
Sie kann der Eigenschaft renderStates eines RenderPass hinzugefügt werden:
RenderPass { shaderProgram: ShaderProgram { // ... } renderStates: [ CullFace { mode: CullFace.Front } ] }
Oder zu der Eigenschaft renderStates eines RenderStateSet hinzugefügt werden:
RenderStateSet { renderStates: [ CullFace { mode: CullFace.Front } ] }
Siehe auch FrontFace.
Eigenschaft Dokumentation
mode : enumeration |
Enthält den von CullFace verwendeten Culling-Modus. Standardmäßig ist QCullFace.Back eingestellt.
© 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.