API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::dolly Method
OdCamera::dolly Method
Syntax
C++
void dolly(double x_dir, double up, double forward);
Parameters 
Description 
double x_dir 
[in] A movement step in the x-direction. The value is a result of crossing up and forward vectors.  
double up 
[in] A movement step in the up (if positive) or down (if negative) direction.  
double forward 
[in] A movement step to (if positive) or from (if negative) the target. 

Changes the camera position and its target by moving it in a specified direction. The move direction is defined by moving step sizes along the x-, y-, and z-coordinate axes. Move amounts are represented as world-space measurement units. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.