Product
- class Product
-
- property name
The name of the product.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property active_aspect_layer
The active
AspectLayerof this product.- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property active_environment_layer
The active
EnvironmentLayerof this product.- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property ssao_enabled
Whether the SSAO is enabled.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property ssao_intensity
The SSAO intensity.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.ValueError -- If trying to set a negative intensity.
- property ssao_lightmaps_enabled
Whether the lightmaps are enabled when SSAO is enabled.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property ssao_apply_transparent_surfaces
Whether the SSAO is applied to transparent surfaces.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property ssao_radius
The SSAO radius when searching for occluders.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.ValueError -- If trying to set a negative radius.
- property ssao_steps
The number of steps to use when computing SSAO.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.ValueError -- If trying to set a number of steps not between 1 and 500.
- property ssao_bias
The SSAO bias.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.ValueError -- If trying to set a bias less than 1.
- duplicate()
Duplicate this product.
- Returns
The duplicated product.
- Return type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- remove()
Delete this product.
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- find_aspect_layer(id)
Find an
AspectLayerby id.- Parameters
id (str) -- Aspect layer id to find.
- Returns
The
AspectLayerfound orNoneif not found.- Return type
AspectLayer or None
- list_aspect_layers(recursive=True)
List all the
AspectLayer.- Parameters
recursive (bool) -- If
True, list all aspect layers in the hierarchy, otherwise only aspect layers at the root are returned.- Returns
The list of
AspectLayerin this product.- Return type
- find_aspect_layer_group(id)
Find an
AspectLayerGroupby id.- Parameters
id (str) --
AspectLayerGroupid to find.- Returns
The
AspectLayerGroupfound orNoneif not found.- Return type
- list_aspect_layer_groups(recursive=True)
List all the
AspectLayerGroup.- Parameters
recursive (bool) -- If
True, list all aspect layer groups in the hierarchy, otherwise only aspect layer groups at the root are returned.- Returns
The list of
AspectLayerGroupin this product.- Return type
- create_aspect_layer_group(name)
Create a new
AspectLayerGrupin this product.- Parameters
name (str) -- Name of the
AspectLayerGroup.- Returns
The newly created
AspectLayerGroup.- Return type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- create_aspect_layer(name)
Create a new
AspectLayerin this product.- Parameters
name (str) -- Name of the
AspectLayer.- Returns
The newly created
AspectLayer.- Return type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- list_environment_layers()
List all the
EnvironmentLayer.- Returns
The list of
EnvironmentLayerin this product.- Return type
- create_environment_layer(name)
Create a new
EnvironmentLayerin this product.- Parameters
name (str) -- Name of the
EnvironmentLayer.- Returns
The newly created
EnvironmentLayer.- Return type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- list_configuration_parameters()
List all the
ConfigurationParameter.- Returns
The list of
ConfigurationParameterin this product.- Return type
- list_configuration_presets()
List all the
ConfigurationPreset.- Returns
The list of
Configurationin this product.- Return type
- create_configuration_preset(name)
Create a new
ConfigurationPresetin this product.- Parameters
name (str) -- Name of the
ConfigurationPreset.- Returns
The newly created
ConfigurationPreset.- Return type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.