Class: QgsTiledSceneRenderContext¶
Encapsulates the render context for a 2D tiled scene rendering operation.
Added in version 3.34.
Methods
Returns the feedback object used to cancel rendering  | 
|
Returns a reference to the context's render context.  | 
|
Sets the current texture coordinates.  | 
|
Sets the current texture image.  | 
|
Returns the current texture coordinates.  | 
|
Returns the current texture image.  | 
- class qgis.core.QgsTiledSceneRenderContext[source]¶
 Bases:
object- __init__(context: QgsRenderContext, feedback: QgsFeedback | None = None)
 Constructor for QgsTiledSceneRenderContext.
- Parameters:
 context (QgsRenderContext)
feedback (Optional[QgsFeedback] = None)
- feedback(self) QgsFeedback | None[source]¶
 Returns the feedback object used to cancel rendering
Added in version 3.20.
- Return type:
 Optional[QgsFeedback]
- renderContext(self) QgsRenderContext¶
 Returns a reference to the context’s render context.
- Return type:
 
- setTextureCoordinates(self, textureX1: float, textureY1: float, textureX2: float, textureY2: float, textureX3: float, textureY3: float)[source]¶
 Sets the current texture coordinates.
See also
- Parameters:
 textureX1 (float)
textureY1 (float)
textureX2 (float)
textureY2 (float)
textureX3 (float)
textureY3 (float)
- setTextureImage(self, image: QImage)[source]¶
 Sets the current texture
image.See also
- Parameters:
 image (QImage)