Camera.perspectiveAngle Property

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

Description

Gets and sets the perspective angle of the camera. This property is only valid when the CameraType property is either Perspective or PerspectiveWithOrthoFaces.

Syntax

"camera_var" is a variable referencing a Camera object.

# Get the value of the property.
propertyValue = camera_var.perspectiveAngle

# Set the value of the property.
camera_var.perspectiveAngle = propertyValue
"camera_var" is a variable referencing a Camera object.
#include <Core/Application/Camera.h>

// Get the value of the property.
double propertyValue = camera_var->perspectiveAngle();

// Set the value of the property, where value_var is a double.
bool returnValue = camera_var->perspectiveAngle(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version August 2014