Class: Qgs3DMapExportSettings¶
- class qgis._3d.Qgs3DMapExportSettings¶
Bases:
sip.wrapper
Manages the various settings the user can choose from when exporting a 3D scene
New in version 3.16.
Qgs3DMapExportSettings() Constructor
Qgs3DMapExportSettings(Qgs3DMapExportSettings)
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
- exportNormals(self) bool ¶
Returns whether normals will be exported
- Return type:
bool
- exportTextures(self) bool ¶
Returns whether textures will be exported
- Return type:
bool
- scale(self) float ¶
Returns the scale of the exported model
- Return type:
float
- sceneFolderPath(self) str ¶
Returns the scene folder path
- Return type:
str
- sceneName(self) str ¶
Returns the scene name
- Return type:
str
- setExportNormals(self, exportNormals: bool)¶
Sets whether normals should be exported
- Parameters:
exportNormals (bool) –
- setExportTextures(self, exportTextures: bool)¶
Sets whether textures will be exported
- Parameters:
exportTextures (bool) –
- setScale(self, scale: float)¶
Sets the scale of exported model
- Parameters:
scale (float) –
- setSceneFolderPath(self, sceneFolderPath: str)¶
Sets the scene’s .obj file folder path
- Parameters:
sceneFolderPath (str) –
- setSceneName(self, sceneName: str)¶
Sets the scene name
- Parameters:
sceneName (str) –
- setSmoothEdges(self, smoothEdges: bool)¶
Sets whether triangles edges will look smooth
- Parameters:
smoothEdges (bool) –
- setTerrainResolution(self, resolution: int)¶
Sets the terrain resolution
- Parameters:
resolution (int) –
- setTerrainTextureResolution(self, resolution: int)¶
Sets the terrain texture resolution
- Parameters:
resolution (int) –
- smoothEdges(self) bool ¶
Returns whether triangles edges will look smooth
- Return type:
bool
- terrainTextureResolution(self) int ¶
Returns the terrain texture resolution
- Return type:
int
- terrrainResolution(self) int ¶
Returns the terrain resolution
- Return type:
int