QColorMask Class
class Qt3DRender::QColorMask현재 바인딩된 프레임 버퍼에 기록할 색상 컴포넌트를 지정할 수 있습니다. 더 보기...
헤더: | #include <QColorMask> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | ColorMask |
상속합니다: | Qt3DRender::QRenderState |
상태: | Deprecated |
속성
- alphaMasked : bool
- blueMasked : bool
- greenMasked : bool
- redMasked : bool
공용 기능
QColorMask(Qt3DCore::QNode *parent = nullptr) | |
bool | isAlphaMasked() const |
bool | isBlueMasked() const |
bool | isGreenMasked() const |
bool | isRedMasked() const |
공용 슬롯
void | setAlphaMasked(bool alphaMasked) |
void | setBlueMasked(bool blueMasked) |
void | setGreenMasked(bool greenMasked) |
void | setRedMasked(bool redMasked) |
신호
void | alphaMaskedChanged(bool alphaMasked) |
void | blueMaskedChanged(bool blueMasked) |
void | greenMaskedChanged(bool greenMasked) |
void | redMaskedChanged(bool redMasked) |
상세 설명
기본적으로 각 색상 구성 요소(빨강, 초록, 파랑, 알파)의 속성은 true
로 설정되어 있어 프레임 버퍼에 기록됩니다. 색상 구성 요소를 false
로 설정하면 프레임 버퍼에 기록되지 않습니다.
속성 문서
alphaMasked : bool
알파마스크 컴포넌트를 프레임 버퍼에 기록할지 여부를 보유합니다.
액세스 함수:
bool | isAlphaMasked() const |
void | setAlphaMasked(bool alphaMasked) |
노티파이 신호:
void | alphaMaskedChanged(bool alphaMasked) |
blueMasked : bool
파란색 컴포넌트를 프레임 버퍼에 기록할지 여부를 보유합니다.
액세스 기능:
bool | isBlueMasked() const |
void | setBlueMasked(bool blueMasked) |
알림 신호:
void | blueMaskedChanged(bool blueMasked) |
greenMasked : bool
녹색 컴포넌트를 프레임 버퍼에 기록할지 여부를 보유합니다.
액세스 기능:
bool | isGreenMasked() const |
void | setGreenMasked(bool greenMasked) |
알림 신호:
void | greenMaskedChanged(bool greenMasked) |
redMasked : bool
빨간색 컴포넌트를 프레임 버퍼에 기록할지 여부를 보유합니다.
액세스 기능:
bool | isRedMasked() const |
void | setRedMasked(bool redMasked) |
알림 신호:
void | redMaskedChanged(bool redMasked) |
멤버 함수 문서
[explicit]
QColorMask::QColorMask(Qt3DCore::QNode *parent = nullptr)
parent 을 부모로 하여 새 Qt3DCore::QColorMask 인스턴스를 생성합니다.
© 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.