renderer_settings
RendererSettings
Controller for all renderer settings.
Source code in omnigibson/renderer_settings/renderer_settings.py
settings
property
Get all available settings.
Returns:
Type | Description |
---|---|
dict
|
A dictionary of all available settings. Keys are setting paths and values are setting item objects. |
get_current_renderer()
Get the current renderer.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
str
|
Path of the setting to get. |
required |
Returns:
Type | Description |
---|---|
str
|
the current renderer. |
Source code in omnigibson/renderer_settings/renderer_settings.py
get_setting_from_path(path)
Get the value of setting @path.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
str
|
Path of the setting to get. |
required |
Returns:
Type | Description |
---|---|
any
|
Value of the requested setting @path. |
Source code in omnigibson/renderer_settings/renderer_settings.py
reset_setting(path)
Resets setting @path to default value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
str
|
Path of the setting to reset. |
required |
Source code in omnigibson/renderer_settings/renderer_settings.py
set_current_renderer(renderer)
Set the current renderer to @renderer.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
renderer
|
str
|
The renderer to set as current (e.g. Real-Time, Path-Traced). |
required |
Source code in omnigibson/renderer_settings/renderer_settings.py
set_setting(path, value)
Sets setting @path with value @value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
str
|
Path of the setting to set. |
required |
value
|
any
|
Value to set for for setting @path. |
required |