CullFace QML Type
CullFace型は、表と裏のどちらのカリングが有効かを指定する。詳細...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QCullFace |
Inherits: | |
Status: | Deprecated |
プロパティ
- mode : enumeration
詳細説明
CullFace は、前面ファセットと背面ファセットのどちらをカリングするかを設定します。ファセットには、三角形、四角形、多角形、長方形が含まれます。
これは、RenderPass の renderStates プロパティに追加できます:
RenderPass { shaderProgram: ShaderProgram { // ... } renderStates: [ CullFace { mode: CullFace.Front } ] }
または、RenderStateSet の renderStates プロパティに追加します:
RenderStateSet { renderStates: [ CullFace { mode: CullFace.Front } ] }
FrontFaceも参照してください 。
プロパティ ドキュメント
mode : enumeration |
© 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.