CullFace QML Type
CullFace 유형은 전면 또는 후면 면 켈링이 활성화되어 있는지 여부를 지정합니다. 더 보기...
| Import Statement: | import Qt3D.Render 2.12 |
| 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
CullFace 에서 사용하는 컬링 모드를 지정합니다. 기본값은 QCullFace.Back으로 설정되어 있습니다.
© 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.