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
"viewport_var" is a variable referencing a Viewport object.
#include <Core/Application/Viewport.h>

// Get the value of the property.
Ptr<Vector3D> propertyValue = viewport_var->frontUpDirection();

Property Value

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

Version

Introduced in version October 2022