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.
-
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
-
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(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.
-
property