CameraEventArgs.viewport Property

Parent Object: CameraEventArgs
Defined in namespace "adsk::core" and the header file is <Core/Application/CameraEventArgs.h>

Description

Returns the viewport that the modified camera is associated with.

Syntax

"cameraEventArgs_var" is a variable referencing a CameraEventArgs object.

# Get the value of the property.
propertyValue = cameraEventArgs_var.viewport
"cameraEventArgs_var" is a variable referencing a CameraEventArgs object.
#include <Core/Application/CameraEventArgs.h>

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

Property Value

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

Version

Introduced in version December 2017