CCheckerMaterial



Implements CheckerMaterial control.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CCheckerMaterial :public virtual ICheckerMaterial, public CControl
{
public:
    // IControl getters 
    bool isAcceptControl() override;
    bool isAcceptControl(IControl *control) override;

    // IMaterialControl methods 
    bool Activate(COpenGL *graphics, IModel *model, ICamera *camera) override;

    // ICheckerMaterial getters 
    Color getColor1() override;
    Color getColor2() override;
    PointF getScale() override;

    // ICheckerMaterial setters 
    bool setColor1(const Color &value) override;
    bool setColor2(const Color &value) override;
    bool setScale(const PointF &value) override;

    CCheckerMaterial();
    CCheckerMaterial(IControl *parent);
};
Namespace: nitisa::opengl
Include: OpengL/Controls/CheckerMaterial/CheckerMaterial.h