Share

Viewport.frontUpDirection Property

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

Description

Returns the up direction of the front view as defined by the view cube.

Syntax

"viewport_var" is a variable referencing a Viewport object.

# Get the value of the property.
propertyValue = viewport_var.frontUpDirection

Property Value

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

Version

Introduced in version October 2022

Was this information helpful?