ZoomIn

Moves the camera forward, closer to the point of interest.

 

JavaScript

 

ZoomIn(

       delta)

 

C#

 

void ZoomIn(

       double delta = 0)

 

C++

 

HRESULT ZoomIn(

       double delta)

 

Parameters

delta

Distance to move forward.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.

Remarks

If the delta parameter is not specified, the ZoomIn method shortens the distance between the camera and the point of interest by a third. If the delta parameter is negative, the method zooms out.