The View object is used to hold the position and direction of the camera that creates the 3D image in a View window.
A new View can be created by clicking on the View item in the Menu bar. An existing View can be selected for editing by clicking on its entry in the Object Selector. Views can be copied, pasted, renamed, or deleted in the same way as other objects in the Object Selector. However, a renamed View must be closed and re-opened before its new name is displayed.
View Inputs
Keyword |
Description |
Graphics |
|
Region |
The region in which the view's coordinates are given. |
ViewCenter |
The position at which the view camera is pointed. |
ViewPosition |
The position of the view camera. |
WindowSize |
The size of the window in pixels (width, height). |
WindowPosition |
The position of the upper left corner of the window in pixels measured from the top left corner of the screen. |
TitleBarText |
Text to place in the title bar of the View window. The window must be closed and re-opened manually after changing the title. |
ShowWindow |
If TRUE, the View window is displayed on screen. |
Movable |
A Boolean indicating whether the view can be panned or rotated. |
Lock2D |
A Boolean indicating whether the view is locked to a downward view (the 2D default). |
FollowEntity |
The (optional) entity for this view to follow. Setting this input makes the view ignore ViewCenter and interprets ViewPosition as a relative offset to this entity. |
ScriptedViewPosition |
The (optional) scripted curve for the view position to follow. |
ScriptedViewCenter |
The (optional) scripted curve for the view center to follow. |
SkyboxImage |
The image file to use as the background for this view. |
View Outputs
Output Name |
Description |
Entity and DisplayEntity |
|
Name, ObjectType, SimTime, Parent |
See Section 10.1. |
View |
|
PointOfInterest |
The point at which the view will zoom towards or rotate around. |
DistanceToPOI |
The distance from the camera position to the point of interest. |