Divooka.RealtimeApplication

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType

Types of system cursors.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Arrow

Arrow cursor (default). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.ArrowWait

Busy arrow cursor. Windows: Yes; Mac OS: No; Linux: No.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Wait

Busy cursor. Windows: Yes; Mac OS: No; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Text

I-beam cursor, when hovering over a text entry field. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Hand

Pointing hand cursor. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeHorizontal

Horizontal double-arrow cursor. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeVertical

Vertical double-arrow cursor. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeTopLeftBottomRight

Double-arrow cursor from top-left to bottom-right. Windows: Yes; Mac OS: No; Linux: No.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeBottomLeftTopRight

Double-arrow cursor from bottom-left to top-right. Windows: Yes; Mac OS: No; Linux: No.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeLeft

Left arrow cursor on Linux (same as SizeHorizontal elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeRight

Right arrow cursor on Linux (same as SizeHorizontal elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeTop

Up arrow cursor on Linux (same as SizeVertical elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeBottom

Down arrow cursor on Linux (same as SizeVertical elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeTopLeft

Top-left arrow cursor on Linux (same as SizeTopLeftBottomRight elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeBottomRight

Bottom-right arrow cursor on Linux (same as SizeTopLeftBottomRight elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeBottomLeft

Bottom-left arrow cursor on Linux (same as SizeBottomLeftTopRight elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeTopRight

Top-right arrow cursor on Linux (same as SizeBottomLeftTopRight elsewhere). Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.SizeAll

Combination of SizeHorizontal and SizeVertical. Windows: Yes; Mac OS: No; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Cross

Crosshair cursor. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.Help

Help cursor. Windows: Yes; Mac OS: No; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.CursorType.NotAllowed

Action-not-allowed cursor. Windows: Yes; Mac OS: Yes; Linux: Yes.

Divooka.RealtimeApplication.IInteractiveServiceProvider.GetWindowSize

Get design-time or specified window size.

Divooka.RealtimeApplication.IInteractiveServiceProvider.GetActualWindowSize

Get actual window size (e.g. after resizing, but the game window may just stretch things depending on setting).

Divooka.RealtimeApplication.IInteractiveServiceProvider.Clear()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawCircle()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawRectangle()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawQuad()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawEllipse()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawArc()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawArc()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawPolygon()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.DrawLine()

Remarks

Notice this function should only be called during Update, aka. do not call it during Start or event handling.

Divooka.RealtimeApplication.IInteractiveServiceProvider.PlaySound()

One-shot sound.

Divooka.RealtimeApplication.IInteractiveServiceProvider.PlayMusic()

Loopable BGM etc.

Divooka.RealtimeApplication.IInteractiveServiceProvider.SetVolume()

Parameters

NameDescriptionDefault
volume 0-100f

Divooka.RealtimeApplication.IInteractiveServiceProvider.SetPitch()

Parameters

NameDescriptionDefault
pitch 0-1f

Divooka.RealtimeApplication.IInteractiveServiceProvider.GetStorage

Gets or creates a (globalized) (local) storage for current executing node

Divooka.RealtimeApplication.RealtimeApplication

Divooka.RealtimeApplication.RealtimeApplication.Update

Procedural context entrance.

Divooka.RealtimeApplication.RealtimeApplication.Initialized

Window is created.

Divooka.RealtimeApplication.RealtimeApplication.ServiceProvider

Set by the host runtime.

Divooka.RealtimeApplication.RealtimeApplication.GetWindowSize

Get design-time or specified window size.

Divooka.RealtimeApplication.RealtimeApplication.GetActualWindowSize

Get actual window size (e.g. after resizing, but the game window may just stretch things depending on setting).

Divooka.RealtimeApplication.RealtimeApplication.ShowCursor

Can be used both during Initialized and Update. Cannot use in Start.

Divooka.RealtimeApplication.RealtimeApplication.HideCursor

Can be used both during Initialized and Update. Cannot use in Start.

Divooka.RealtimeApplication.RealtimeApplication.DrawCircle()

Parameters

NameDescriptionDefault
fillColor White
outlineColor Black

Divooka.RealtimeApplication.RealtimeApplication.DrawRectangle()

Parameters

NameDescriptionDefault
fillColor White
outlineColor Black

Divooka.RealtimeApplication.RealtimeApplication.DrawQuad()

Parameters

NameDescriptionDefault
fillColor White
outlineColor Black

Divooka.RealtimeApplication.RealtimeApplication.DrawEllipse()

Parameters

NameDescriptionDefault
fillColor White
outlineColor Black

Divooka.RealtimeApplication.RealtimeApplication.DrawArc()

Parameters

NameDescriptionDefault
outlineColor White

Divooka.RealtimeApplication.RealtimeApplication.DrawArc()

Parameters

NameDescriptionDefault
outlineColor White

Divooka.RealtimeApplication.RealtimeApplication.DrawPolygon()

Parameters

NameDescriptionDefault
fillColor White
outlineColor Black

Divooka.RealtimeApplication.RealtimeApplication.DrawLine()

Parameters

NameDescriptionDefault
outlineColor White

Divooka.RealtimeApplication.RealtimeApplication.DrawText()

Parameters

NameDescriptionDefault
font Arial
fontSize 14
color Red

Divooka.RealtimeApplication.RealtimeApplication.DrawText()

Parameters

NameDescriptionDefault
font Arial
fontSize 14
color Red

Divooka.RealtimeApplication.RealtimeApplication.DrawText()

Parameters

NameDescriptionDefault
font Arial
fontSize 14
maxWidth 200
color Red

Divooka.RealtimeApplication.RealtimeApplication.PlaySound()

Supported file formats: WAV, OGG/Vorbis and FLAC. MP3 is supported for decoding but not encoding.

Sound

A sound instance.

Divooka.RealtimeApplication.RealtimeApplication.PlayMusic()

Supported file formats: WAV, OGG/Vorbis and FLAC. MP3 is supported for decoding but not encoding.

Music

A music instance.

Divooka.RealtimeApplication.RealtimeApplication.SetVolume()

Parameters

NameDescriptionDefault
volume 0-100f

Divooka.RealtimeApplication.RealtimeApplication.SetPitch()

Parameters

NameDescriptionDefault
pitch 0-1f