RenderEnvironment.loadCustomEnvironment Method

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

Description

Statically creates a RenderEnvironment which can be used to set the environment for a scene using the SceneSettings.backgroundEnvironment property.

Syntax

This is a static method.

returnValue = adsk.fusion.RenderEnvironment.loadCustomEnvironment(fullFilename)
This is a static method.

#include <Fusion/Render/RenderEnvironment.h>

returnValue = adsk::fusion::RenderEnvironment::loadCustomEnvironment(fullFilename);

Return Value

Type Description
RenderEnvironment Returns the RenderEnvironment object or null if the file could not be loaded.

Parameters

Name Type Description
fullFilename string The full path and filename of the custom environment file to load.

Version

Introduced in version May 2023