MaterialThe Material item describes material properties for OpenGL drawing. More... Inherits QtObject Material instantiates the C++ class QGLMaterial This type was introduced in Qt 4.8. Properties
Detailed DescriptionProperty DocumentationThe ambient color of the material. The default value is (0.2, 0.2, 0.2, 1.0). See also diffuseColor and specularColor. The diffuse color of the material. The default value is (0.8, 0.8, 0.8, 1.0). See also ambientColor and specularColor. The emitted light intensity of the material. The default value is (0.0, 0.0, 0.0, 1.0), which indicates that the material does not emit any light. The specular exponent of the material, or how shiny it is. Must be between 0 and 128. The default value is 0. A value outside this range will be clamped to the range when the property is set. The specular color of the material. The default value is (0, 0, 0, 1). See also ambientColor and diffuseColor. |