RenderEventArgs.viewport Property

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

Description

Returns the viewport that the rendering was performed in when the render is an in-canvas rendering.

Syntax

"renderEventArgs_var" is a variable referencing a RenderEventArgs object.

# Get the value of the property.
propertyValue = renderEventArgs_var.viewport
"renderEventArgs_var" is a variable referencing a RenderEventArgs object.
#include <Fusion/Render/RenderEventArgs.h>

// Get the value of the property.
Ptr<Viewport> propertyValue = renderEventArgs_var->viewport();

Property Value

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

Version

Introduced in version September 2023