Viewport.frontEyeDirection Property

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

Description

Returns the direction of the front view as defined by the view cube. This vector defines the direction from the eye to the target for the front view.

Syntax

"viewport_var" is a variable referencing a Viewport object.

# Get the value of the property.
propertyValue = viewport_var.frontEyeDirection
"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->frontEyeDirection();

Property Value

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

Version

Introduced in version October 2022