Viewpoint Direction to VR Orientation
R2026b(Removed) Convert viewpoint direction to virtual world orientation
Viewpoint Direction to VR Orientation has been removed. For more information, see Version History.
Libraries:
Simulink 3D Animation /
Utilities
Description
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.
Ports
Input
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"vrlib/Utilities/Viewpoint Direction to VR Orientation"
Example: add_block("vrlib/Utilities/Viewpoint Direction to VR Orientation","myModel/myBlock",MakeNameUnique="on")
