Documentation

Scene - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: Scene

Game.Scene
Scene in the game

Functions

Constructor ( )
Copy ( Other Scene )

Properties

Resource Scene Resource'
resource that created this scene
Finished Boolean
whether all initial objects's Created event has been called on them and their resources have been loaded
Always Process Boolean
executes ticks and physics regardless of view focus
Physics Physics*
physics associated with the scene
Ambient Light Color Color HDR
global ambient light applied to all of its objects
Render Order Index Integer
sorting number that may override scene rendering ordering
Render Depth Boolean
enables the use of the depth buffer for all of its objects
Gravity 3D Vector
gobal gravity applied to all objects in the scene
Raw Gravity 3D Vector
raw gravity vector applied to objects in the scene
Grid Axis X 3D Vector
x-axis offset between each object on grid
Grid Axis Y 3D Vector
y-axis offset between each object on grid
Grid Axis Z 3D Vector
z-axis offset between each object on grid
Default Camera Camera*
camera used by any view that focuses on this scene; or any of its objects - in such a case its actual position can be determined by the view's managed camera
Editor Camera Camera*
editor-managed camera that will be cloned from default camera
Focused Views View' Array
views focusing on this scene

Events

Opened Scene ( )
Triggers when a scene is displayed in any views
Closed Scene ( )
Triggers when a scene is no longer displayed in any views
Navigation ( Direction Direction 4 )
Simulated explicitly by keybinds
Accepted ( )
Simulated explicitly by keybinds
Cancelled ( )
Simulated explicitly by keybinds
Resized ( )
Triggers for all displayed scenes whenever any screen sizes change

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