Implements RimMaterial control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CRimMaterial :public virtual IRimMaterial, public CControl
{
public:
// IControl getters
bool isAcceptControl() override;
bool isAcceptControl(IControl *control) override;
// IMaterialControl methods
bool Activate(standard::windows::opengl::IOpenGL *graphics, const Mat4 &model, ICamera *camera) override;
// IRimMaterial getters
ITexture *getTexture() override;
Color getAmbientColor() override;
Color getDiffuseColor() override;
Color getSpecularColor() override;
Color getRimColor() override;
Color getLightDiffuseColor() override;
Color getLightSpecularColor() override;
Vector getLightPosition() override;
float getLightX() override;
float getLightY() override;
float getLightZ() override;
float getShininess() override;
float getRimPower() override;
// IRimMaterial setters
bool setTexture(ITexture *value) override;
bool setAmbientColor(const Color &value) override;
bool setDiffuseColor(const Color &value) override;
bool setSpecularColor(const Color &value) override;
bool setRimColor(const Color &value) override;
bool setLightDiffuseColor(const Color &value) override;
bool setLightSpecularColor(const Color &value) override;
bool setLightPosition(const Vector &value) override;
bool setLightX(const float value) override;
bool setLightY(const float value) override;
bool setLightZ(const float value) override;
bool setShininess(const float value) override;
bool setRimPower(const float value) override;
CRimMaterial();
CRimMaterial(IControl *parent);
};
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/RimMaterial/RimMaterial.h |