|
QGIS API Documentation 4.1.0-Master (9af12b5a203)
|
Context settings for a material. More...
#include <qgsmaterial3dhandler.h>
Public Member Functions | |
| bool | isHighlighted () const |
Returns true if the material should represent a highlighted state. | |
| bool | isSelected () const |
Returns true if the material should represent a selected state. | |
| QColor | selectionColor () const |
| Returns the color for representing materials in a selected state. | |
| void | setIsHighlighted (bool isHighlighted) |
| Sets whether the material should represent a highlighted state. | |
| void | setIsSelected (bool isSelected) |
| Sets whether the material should represent a selected state. | |
| void | setSelectionColor (const QColor &color) |
| Sets the color for representing materials in a selected state. | |
| void | setTextureFilterQuality (Qgis::TextureFilterQuality quality) |
| Sets the texture filtering quality. | |
| Qgis::TextureFilterQuality | textureFilterQuality () const |
| Returns the texture filtering quality. | |
Static Public Member Functions | |
| static QgsMaterialContext | fromRenderContext (const Qgs3DRenderContext &context) |
| Constructs a material context from the settings in a 3D render context. | |
Context settings for a material.
Definition at line 53 of file qgsmaterial3dhandler.h.
|
static |
Constructs a material context from the settings in a 3D render context.
Definition at line 35 of file qgsmaterial3dhandler.cpp.
|
inline |
Returns true if the material should represent a highlighted state.
Definition at line 97 of file qgsmaterial3dhandler.h.
|
inline |
Returns true if the material should represent a selected state.
Definition at line 68 of file qgsmaterial3dhandler.h.
|
inline |
Returns the color for representing materials in a selected state.
Definition at line 82 of file qgsmaterial3dhandler.h.
|
inline |
Sets whether the material should represent a highlighted state.
Definition at line 105 of file qgsmaterial3dhandler.h.
|
inline |
Sets whether the material should represent a selected state.
Definition at line 75 of file qgsmaterial3dhandler.h.
|
inline |
Sets the color for representing materials in a selected state.
Definition at line 89 of file qgsmaterial3dhandler.h.
|
inline |
Sets the texture filtering quality.
Definition at line 121 of file qgsmaterial3dhandler.h.
|
inline |
Returns the texture filtering quality.
Definition at line 113 of file qgsmaterial3dhandler.h.