SceneSettings.lightAngle Property

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

Description

Specifies the rotation of the lighting. The angle is specified in Radians.

When the isGroundFlattened property is true, this also controls the angle of the texture that is applied to the ground. When the background is an environment, this controls the rotation of the environment relative to the model.

Syntax

"sceneSettings_var" is a variable referencing a SceneSettings object.

# Get the value of the property.
propertyValue = sceneSettings_var.lightAngle

# Set the value of the property.
sceneSettings_var.lightAngle = 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->lightAngle();

// Set the value of the property, where value_var is a double.
bool returnValue = sceneSettings_var->lightAngle(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version May 2023