SceneSettings.backgroundType Property

Parent Object: SceneSettings
Defined in namespace "adsk::fusion" and the header file is <Fusion/Render/SceneSettings.h>

Description

Specifies the current type of background being used to render the scene. To change the background type use either the backgroundEnvironment or the backgroundSolidColor to set the environment or color.

Syntax

"sceneSettings_var" is a variable referencing a SceneSettings object.

# Get the value of the property.
propertyValue = sceneSettings_var.backgroundType
"sceneSettings_var" is a variable referencing a SceneSettings object.
#include <Fusion/Render/SceneSettings.h>

// Get the value of the property.
RenderSceneBackgroundTypes propertyValue = sceneSettings_var->backgroundType();

Property Value

This is a read only property whose value is a RenderSceneBackgroundTypes.

Version

Introduced in version May 2023