Convert viewpoint direction to virtual world orientation
Simulink 3D Animation / Utilities
The Viewpoint Direction to VR Orientation takes a viewpoint direction (a 3 element vector) as input and outputs the corresponding virtual world viewpoint orientation (a 4-element rotation vector).
To open the Block Parameters dialog box, double-click the block.
Input 1— Viewpoint direction
Viewpoint direction, specified as a 3-element vector.
Port 1— Axis/Angle Rotation
Output rotation, returned as a 4-element vector in axis/angle notation,. The first three elements specify the axis of rotation and the fourth element specifies the angle.
Actual data type or capability support depends on block implementation.