Class: Qgs3DMapExportSettings¶
Manages the various settings the user can choose from when exporting a 3D scene.
Added in version 3.16.
Methods
Returns whether normals will be exported |
|
Returns whether textures will be exported |
|
Returns the scale of the exported model |
|
Returns the scene folder path |
|
Returns the scene name |
|
Sets whether normals should be exported |
|
Sets whether textures will be exported |
|
Sets the scale of exported model |
|
Sets the scene's .obj file folder path |
|
Sets the scene name |
|
Sets whether triangles edges will look smooth |
|
Sets the terrain resolution |
|
Sets the terrain texture resolution |
|
Returns whether triangles edges will look smooth |
|
Returns the terrain texture resolution |
|
Returns the terrain resolution |
- class qgis._3d.Qgs3DMapExportSettings[source]¶
Bases:
object
- __init__()
Constructor
- __init__(a0: Qgs3DMapExportSettings)
- Parameters:
- setExportNormals(self, exportNormals: bool)[source]¶
Sets whether normals should be exported
- Parameters:
exportNormals (bool)
- setExportTextures(self, exportTextures: bool)[source]¶
Sets whether textures will be exported
- Parameters:
exportTextures (bool)
- setSceneFolderPath(self, sceneFolderPath: str | None)[source]¶
Sets the scene’s .obj file folder path
- Parameters:
sceneFolderPath (Optional[str])
- setSceneName(self, sceneName: str | None)[source]¶
Sets the scene name
- Parameters:
sceneName (Optional[str])
- setSmoothEdges(self, smoothEdges: bool)[source]¶
Sets whether triangles edges will look smooth
- Parameters:
smoothEdges (bool)
- setTerrainResolution(self, resolution: int)[source]¶
Sets the terrain resolution
- Parameters:
resolution (int)
- setTerrainTextureResolution(self, resolution: int)[source]¶
Sets the terrain texture resolution
- Parameters:
resolution (int)