SceneSettings.groundRoughness Property
Parent Object:
SceneSettingsDefined in namespace "adsk::fusion" and the header file is <Fusion/Render/SceneSettings.h>
Description
Gets and sets the roughness of the ground which controls the sharpness of the reflection. This is only used when the isGroundReflections property is true. This is a value between 0 and 1, where 0 is smooth and 1 is rough.
Syntax
"sceneSettings_var" is a variable referencing a SceneSettings object.
# Get the value of the property. propertyValue = sceneSettings_var.groundRoughness
# Set the value of the property. sceneSettings_var.groundRoughness = propertyValue
|
"sceneSettings_var" is a variable referencing a SceneSettings object.
#include <Fusion/Render/SceneSettings.h>
// Get the value of the property. double propertyValue = sceneSettings_var->groundRoughness();
// Set the value of the property, where value_var is a double. bool returnValue = sceneSettings_var->groundRoughness(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version May 2023