RenderEnvironments.itemById Method

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

Description

Returns the render environment with the specified ID.

Syntax

"renderEnvironments_var" is a variable referencing a RenderEnvironments object.
returnValue = renderEnvironments_var.itemById(id)
"renderEnvironments_var" is a variable referencing a RenderEnvironments object.

#include <Fusion/Render/RenderEnvironments.h>

returnValue = renderEnvironments_var->itemById(id);

Return Value

Type Description
RenderEnvironment Returns the specified render environment or null if the ID does not match a render environment.

Parameters

Name Type Description
id string The ID of the render environment to return.

Version

Introduced in version May 2023