Camera.cameraType Property

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

Description

Gets and sets the current camera type.

Syntax

"camera_var" is a variable referencing a Camera object.

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

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

// Get the value of the property.
CameraTypes propertyValue = camera_var->cameraType();

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

Property Value

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

Version

Introduced in version August 2014