Simulation 3D Camera Get
Libraries:
Vehicle Dynamics Blockset /
Vehicle Scenarios /
Sim3D /
Sim3D Core
Aerospace Blockset /
Animation /
Simulation 3D
Simulink 3D Animation /
Simulation 3D /
Utilities
Description
The Simulation 3D Camera Get block provides an interface to an ideal camera in the 3D visualization environment. The image output is a red, green, and blue (RGB) array.
If you set the sample time to -1
, the block uses the sample time
specified in the Simulation 3D Scene Configuration block. To use this sensor,
ensure that the Simulation 3D Scene Configuration block is in your
model.
Tip
Verify that the Simulation 3D Scene Configuration block executes before the Simulation 3D Camera Get block. That way, the Unreal Engine® 3D visualization environment prepares the data before the Simulation 3D Camera Get block receives it. To check the block execution order, right-click the blocks and select Properties. On the General tab, confirm these Priority settings:
Simulation 3D Scene Configuration —
0
Simulation 3D Camera Get —
1
For more information about execution order, see Control and Display Execution Order (Simulink).
Examples
Ports
Output
Parameters
Tips
To understand how to set tag of Sim 3d Scene Cap and how it the tag is related to the Simulation 3D Camera Get block, see Place Cameras on Actors in the Unreal Editor (Vehicle Dynamics Blockset).
Version History
Introduced in R2022b