This document is archived and information here might be outdated. Recommended version. |
The viewing distance between the observer and the target. When changing, the observer moves.
[Visual Basic .NET] Public Property ViewingDistance As Double
[C#] public double ViewingDistance {get; set;}
[C++]
HRESULT get_ViewingDistance(
System.Double* distance
);
[C++]
HRESULT put_ViewingDistance(
double distance
);
[C++]
Parameters distance [out, retval]
distance is a parameter of type double* distance [in]
distance is a parameter of type double
The ViewingDistance is in the current scene units as defined by the horizontal coordinate system of the scene's spatial reference.
Setting the ViewingDistance will modify the observer's position along the line of sight relative to the target.