Product
- class Product
-
- property name
The name of the product.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property active_aspect_layer
The active
AspectLayer
of this product.- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property active_environment_layer
The active
EnvironmentLayer
of this product.- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property ssao_enabled
Whether the SSAO is enabled.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property ssao_intensity
The SSAO intensity.
- Type
- Raises
ReadOnlyError -- If
Database
is 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
Database
is in read only mode.
- property ssao_apply_transparent_surfaces
Whether the SSAO is applied to transparent surfaces.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property ssao_radius
The SSAO radius when searching for occluders.
- Type
- Raises
ReadOnlyError -- If
Database
is 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
Database
is 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
Database
is 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
Database
is in read only mode.
- remove()
Delete this product.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- find_aspect_layer(id)
Find an
AspectLayer
by id.- Parameters
id (str) -- Aspect layer id to find.
- Returns
The
AspectLayer
found orNone
if 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
AspectLayer
in this product.- Return type
- find_aspect_layer_group(id)
Find an
AspectLayerGroup
by id.- Parameters
id (str) --
AspectLayerGroup
id to find.- Returns
The
AspectLayerGroup
found orNone
if 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
AspectLayerGroup
in this product.- Return type
- create_aspect_layer_group(name)
Create a new
AspectLayerGrup
in this product.- Parameters
name (str) -- Name of the
AspectLayerGroup
.- Returns
The newly created
AspectLayerGroup
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- create_aspect_layer(name)
Create a new
AspectLayer
in this product.- Parameters
name (str) -- Name of the
AspectLayer
.- Returns
The newly created
AspectLayer
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_environment_layers()
List all the
EnvironmentLayer
.- Returns
The list of
EnvironmentLayer
in this product.- Return type
- create_environment_layer(name)
Create a new
EnvironmentLayer
in this product.- Parameters
name (str) -- Name of the
EnvironmentLayer
.- Returns
The newly created
EnvironmentLayer
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_configuration_parameters()
List all the
ConfigurationParameter
.- Returns
The list of
ConfigurationParameter
in this product.- Return type
- list_configuration_presets()
List all the
ConfigurationPreset
.- Returns
The list of
Configuration
in this product.- Return type
- create_configuration_preset(name)
Create a new
ConfigurationPreset
in this product.- Parameters
name (str) -- Name of the
ConfigurationPreset
.- Returns
The newly created
ConfigurationPreset
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.