Documentation

Canvas - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Canvas

GUI.Canvas

Enumerations

Canvas Renderer
Options for the rendering engine to use for the canvas

Functions

Copy ( Other Canvas )

Properties

Framerate Maximum Float
maximum frames per second while window is focused
Framerate Maximum Inactive Float
maximum frames per second when window is not focused
Clearing Canvas Clearing
method used for clearing the canvas
VR Enabled Boolean
Renders to VR equipment
VR Active Boolean
VR equipment or emulator is active for this canvas
VR Emulated Boolean
VR emulator is active for this canvas
Draw Interval Float
time interval since last draw canvas draw
Current Framerate (FPS) Float
actual frames per second calculated in the past 5 seconds
Renderer Canvas Renderer
rendering engine used by the canvas

Events

Draw ( Render Context Render Context*, Area Rectangle )
Triggers when a frame should be drawn on a canvas
Editor Draw ( Render Context Render Context*, Area Rectangle )
Triggers when a frame should be drawn on a canvas

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