createViewport
Syntax
Description
createViewport(
creates a viewport with
a single field, world
)Main
that contains a sim3d.sensors.MainCamera
object.
If you do not create a viewport, then the point of view is set to 0, 0 ,0, and you can use the arrow keys and pointer to navigate in the game.
Input Arguments
Version History
Introduced in R2022b