Documentation

View - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: View

Game.View
View that can display scenes, actors, and other game objects

Functions

Copy ( Other View )

Properties

Focused Scene Scene'
scene that the view is focused on
Focused Camera Camera'
camera that the view is focused on
Focused Actor Actor'
actor that the view is focused on
Focused Free Boolean
explicit position will be used and thus free from its camera's or focused actor's position
Focused Position 3D Vector
explicit position; make sure to set FocusedFree to make use of this
Layered Scenes Below Scene' Array
scenes that are rendered below the focused scene in this view
Layered Scenes Above Scene' Array
scenes that are rendered above the focused scene in this view
Managed Camera Camera*
self-managed camera that is overwritten by the focused camera or focused scene's default/editor camera
Focused Canvas Game Canvas'
game canvas that owns this view if not created within a scene
Projection Info Matrix Projection Info
information about the projection of the view
Render to Image Image'
image to replace and render to instead of being displayed to the screen (render to texture)
Managed Surface Surface*
surface used to render to an image
Camera Source Offset 3D Vector
offset of the source camera when rendering this view

Events

Draw Before ( Render Context Render Context* )
Triggers before the view's perspective is set
Draw Below ( Render Context Render Context* )
Triggers before the view renders its objects
Draw Above ( Render Context Render Context* )
Triggers after the view renders its objects
Draw After ( Render Context Render Context* )
Triggers after the view's perspective is unset

If you think anything is missing, please feel free to: submit documentation feedback on this page