anyKode Marilou
ContentsIndexHome
PreviousUpNext
Connection::ViewpointMoveTo

Moving the default user viewpoint.

C++
bool ViewpointMoveTo(Moda::Commons::MODAVECTOR3 Position, Moda::Commons::MODAVECTOR3 LookVector);
Parameters 
Description 
Moda::Commons::MODAVECTOR3 Position 
[in] New viewpoint's position (DirectX axes). 
Moda::Commons::MODAVECTOR3 LookVector 
[in] New viewpoint's direction (DirectX axes). 

true is the simulator have received the command, false otherwise.

ViewpointMoteTo changes the position and the direction of the user viewpoint. Choose direction (0,0,0) for changing the position only. The direction is automatically normalized.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!