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.
Parameters
Parameters
Description
x_dir
[in] A movement step in the x-direction. The value is a result of crossing up and forward vectors.
up
[in] A movement step in the up (if positive) or down (if negative) direction.
forward
[in] A movement step to (if positive) or from (if negative) the target.