CamDistance Property

Gets or sets the distance between the camera and the center of interest.

Syntax

object.CamDistance [= distance]

Parameters

distance
A positive Float expression representing the distance between the camera and the center of interest.

Remarks

The CamDistance property is one of three properties (along with CamAzimuth and CamElevation) that determine the position of the camera relative to the center of interest.

CamDistance is in the same units as the view volume, which is a box-shaped region with (0,0,0) and (XScale, YScale, ZScale) as opposite corners.

Setting this property has an effect only when the CamViewType property is View3D.

See Also

CamAzimuth, CamElevation, XScale, YScale, ZScale, CamViewType