Realtime Application
78 nodes
On this page 78
Make Realtime Application
FunctionThis node carries no documentation.
RealtimeApplication() -> Realtime Application
RealtimeApplication RealtimeApplication()
Returns
| Realtime Application | Realtime Application |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Clear
FunctionThis node carries no documentation.
Clear
Realtime Application: Realtime Application
background: Optional Colorvoid Clear(
RealtimeApplication Realtime Application,
ColorElement? background)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| background | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Close Microphone
FunctionThis node carries no documentation.
CloseMicrophone
Realtime Application: Realtime Application
microphone: Anyvoid CloseMicrophone(
RealtimeApplication Realtime Application,
object microphone)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| microphone | Any | — | From Open Microphone. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Arc
FunctionThis node carries no documentation.
Overload 1 of 2
DrawArc
Realtime Application: Realtime Application
x: Number
y: Number
radius: Number
startAngle: Number
endAngle: Number
outlineThickness: Number
outlineColor: Optional Colorvoid DrawArc(
RealtimeApplication Realtime Application,
double x,
double y,
double radius,
double startAngle,
double endAngle,
double outlineThickness,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| radius | Number | — | |
| startAngle | Number | — | |
| endAngle | Number | — | |
| outlineThickness | Number | — | |
| outlineColor | Optional Color | — |
Overload 2 of 2
DrawArc
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
startAngle: Number
endAngle: Number
outlineThickness: Number
outlineColor: Optional Colorvoid DrawArc(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
double startAngle,
double endAngle,
double outlineThickness,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| startAngle | Number | — | |
| endAngle | Number | — | |
| outlineThickness | Number | — | |
| outlineColor | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Circle
FunctionThis node carries no documentation.
DrawCircle
Realtime Application: Realtime Application
x: Number
y: Number
radius: Number
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Color
centered: Truthvoid DrawCircle(
RealtimeApplication Realtime Application,
double x,
double y,
double radius,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor,
bool centered)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| radius | Number | — | |
| outlineThickness | Number | — | |
| fillColor | Optional Color | — | |
| outlineColor | Optional Color | — | |
| centered | Truth | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Ellipse
FunctionThis node carries no documentation.
DrawEllipse
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
rotation: Number
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Colorvoid DrawEllipse(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
double rotation,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| rotation | Number | — | |
| outlineThickness | Number | — | |
| fillColor | Optional Color | — | |
| outlineColor | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Gradient
FunctionA rectangle shaded smoothly from one colour to another, top to bottom or left to right: a sky, a fade, a highlight.
DrawGradient
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
from: Color
to: Color
vertical: Truthvoid DrawGradient(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
ColorElement from,
ColorElement to,
bool vertical = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | Left edge. |
| y | Number | — | Top edge. |
| width | Number | — | Width. |
| height | Number | — | Height. |
| from | Color | — | The colour at the top, or the left. |
| to | Color | — | The colour at the bottom, or the right. |
| vertical | Truth | True | Top to bottom; left to right when false. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Image
FunctionThis node carries no documentation.
Overload 1 of 2
DrawImage
Realtime Application: Realtime Application
path: Text
location: Vector 2Dvoid DrawImage(
RealtimeApplication Realtime Application,
string path,
Vector2D location)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| path | Text | — | |
| location | Vector 2D | — |
Overload 2 of 2
DrawImage
Realtime Application: Realtime Application
image: Pixel Image
location: Vector 2Dvoid DrawImage(
RealtimeApplication Realtime Application,
PixelImage image,
Vector2D location)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| image | Pixel Image | — | |
| location | Vector 2D | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Line
FunctionThis node carries no documentation.
DrawLine
Realtime Application: Realtime Application
x1: Number
y1: Number
x2: Number
y2: Number
outlineThickness: Number
outlineColor: Optional Colorvoid DrawLine(
RealtimeApplication Realtime Application,
double x1,
double y1,
double x2,
double y2,
double outlineThickness,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x1 | Number | — | |
| y1 | Number | — | |
| x2 | Number | — | |
| y2 | Number | — | |
| outlineThickness | Number | — | |
| outlineColor | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Polygon
FunctionThis node carries no documentation.
DrawPolygon
Realtime Application: Realtime Application
points: Vector 2D Array
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Colorvoid DrawPolygon(
RealtimeApplication Realtime Application,
Vector2D[] points,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| points | Vector 2D Array | — | |
| outlineThickness | Number | — | |
| fillColor | Optional Color | — | |
| outlineColor | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Polyline
FunctionA line through several points, joined smoothly: a path traced between two tiles, a trail behind a comet, a graph.
DrawPolyline
Realtime Application: Realtime Application
points: Vector 2D Array
thickness: Number
color: Color
rounded: Truthvoid DrawPolyline(
RealtimeApplication Realtime Application,
Vector2D[] points,
double thickness,
ColorElement color,
bool rounded = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| points | Vector 2D Array | — | The points, in order; at least two. |
| thickness | Number | — | Pixels across. |
| color | Color | — | Its colour, transparency included. |
| rounded | Truth | True | Round ends and corners; square ones when false. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Quad
FunctionThis node carries no documentation.
DrawQuad
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
angle: Number
rotation: Number
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Colorvoid DrawQuad(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
double angle,
double rotation,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| angle | Number | — | |
| rotation | Number | — | |
| outlineThickness | Number | — | |
| fillColor | Optional Color | — | |
| outlineColor | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Rectangle
FunctionThis node carries no documentation.
DrawRectangle
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Color
centered: Truthvoid DrawRectangle(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor,
bool centered)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| outlineThickness | Number | — | |
| fillColor | Optional Color | — | |
| outlineColor | Optional Color | — | |
| centered | Truth | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Rounded Rectangle
FunctionA rectangle with rounded corners: a button, a panel, a card.
DrawRoundedRectangle
Realtime Application: Realtime Application
x: Number
y: Number
width: Number
height: Number
radius: Number
outlineThickness: Number
fillColor: Optional Color
outlineColor: Optional Colorvoid DrawRoundedRectangle(
RealtimeApplication Realtime Application,
double x,
double y,
double width,
double height,
double radius,
double outlineThickness,
ColorElement? fillColor,
ColorElement? outlineColor)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| x | Number | — | Left edge. |
| y | Number | — | Top edge. |
| width | Number | — | Width. |
| height | Number | — | Height. |
| radius | Number | — | The corners' radius; no more than half the shorter side. |
| outlineThickness | Number | — | The outline's width; 0 for none. |
| fillColor | Optional Color | — | The inside; none when not given. |
| outlineColor | Optional Color | — | The outline; none when not given. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Sprite
FunctionOverload 1 of 5
DrawSprite
Realtime Application: Realtime Application
path: Text
location: Vector 2D
sourceStart: Vector 2D
size: Vector 2Dvoid DrawSprite(
RealtimeApplication Realtime Application,
string path,
Vector2D location,
Vector2D sourceStart,
Vector2D size)This node carries no documentation.
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| path | Text | — | |
| location | Vector 2D | — | |
| sourceStart | Vector 2D | — | |
| size | Vector 2D | — |
Overload 2 of 5
DrawSprite
Realtime Application: Realtime Application
image: Pixel Image
location: Vector 2D
sourceStart: Vector 2D
size: Vector 2Dvoid DrawSprite(
RealtimeApplication Realtime Application,
PixelImage image,
Vector2D location,
Vector2D sourceStart,
Vector2D size)This node carries no documentation.
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| image | Pixel Image | — | |
| location | Vector 2D | — | |
| sourceStart | Vector 2D | — | |
| size | Vector 2D | — |
Overload 3 of 5
DrawSprite
Realtime Application: Realtime Application
sprite: GlazeSprite
location: Vector 2Dvoid DrawSprite(
RealtimeApplication Realtime Application,
GlazeSprite sprite,
Vector2D location)This node carries no documentation.
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sprite | GlazeSprite | — | |
| location | Vector 2D | — |
Overload 4 of 5
DrawSprite
Realtime Application: Realtime Application
sprite: GlazeSprite
location: Vector 2D
rotation: Number
scale: Number
tint: Color
blend: Sprite Blendvoid DrawSprite(
RealtimeApplication Realtime Application,
GlazeSprite sprite,
Vector2D location,
double rotation,
double scale,
ColorElement tint,
SpriteBlend blend = SpriteBlend.Normal)A sprite tinted, faded, scaled and turned, and blended as light or shadow: a glowing tile, a coloured spark, a sprite fading out.
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sprite | GlazeSprite | — | The sprite. |
| location | Vector 2D | — | Where; its centre if it was made centred, its corner otherwise. |
| rotation | Number | — | Degrees, clockwise. |
| scale | Number | — | How much larger than the sprite's own scale; 1 as it is. |
| tint | Color | — | Each pixel multiplied by this colour, its transparency included: white leaves it as it is, white at half alpha fades it to half. |
| blend | Sprite Blend | Normal | How it combines with what is beneath. |
Overload 5 of 5
DrawSprite
Realtime Application: Realtime Application
sprite: GlazeSprite
location: Vector 2D
rotation: Numbervoid DrawSprite(
RealtimeApplication Realtime Application,
GlazeSprite sprite,
Vector2D location,
double rotation)This node carries no documentation.
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sprite | GlazeSprite | — | |
| location | Vector 2D | — | |
| rotation | Number | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Text
FunctionThis node carries no documentation.
Overload 1 of 3
DrawText
Realtime Application: Realtime Application
text: Text
fontName: Text
size: Integer
location: Vector 2D
color: Colorvoid DrawText(
RealtimeApplication Realtime Application,
string text,
string fontName,
int size,
Vector2D location,
ColorElement color)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| text | Text | — | |
| fontName | Text | — | |
| size | Integer | — | |
| location | Vector 2D | — | |
| color | Color | — |
Overload 2 of 3
DrawText
Realtime Application: Realtime Application
text: Text
fontName: Text
size: Integer
location: Vector 2D
color: Color
centered: Truth
centeredHorizontally: Truth
centeredVertically: Truthvoid DrawText(
RealtimeApplication Realtime Application,
string text,
string fontName,
int size,
Vector2D location,
ColorElement color,
bool centered,
bool centeredHorizontally = true,
bool centeredVertically = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| text | Text | — | |
| fontName | Text | — | |
| size | Integer | — | |
| location | Vector 2D | — | |
| color | Color | — | |
| centered | Truth | — | |
| centeredHorizontally | Truth | True | |
| centeredVertically | Truth | True |
Overload 3 of 3
DrawText
Realtime Application: Realtime Application
text: Text
fontName: Text
fontSize: Integer
location: Vector 2D
maxWidth: Integer
color: Colorvoid DrawText(
RealtimeApplication Realtime Application,
string text,
string fontName,
int fontSize,
Vector2D location,
int maxWidth,
ColorElement color)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| text | Text | — | |
| fontName | Text | — | |
| fontSize | Integer | — | |
| location | Vector 2D | — | |
| maxWidth | Integer | — | |
| color | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Draw Tiled Image
FunctionAn image repeated across a rectangle, shifted by an offset: a texture of grain or cloth, a scrolling background.
DrawTiledImage
Realtime Application: Realtime Application
image: Pixel Image
x: Number
y: Number
width: Number
height: Number
scale: Number
offset: Vector 2D
tint: Colorvoid DrawTiledImage(
RealtimeApplication Realtime Application,
PixelImage image,
double x,
double y,
double width,
double height,
double scale,
Vector2D offset,
ColorElement tint)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| image | Pixel Image | — | The image to repeat. |
| x | Number | — | Left edge. |
| y | Number | — | Top edge. |
| width | Number | — | Width. |
| height | Number | — | Height. |
| scale | Number | — | How large one repeat is drawn; 1 as it is. |
| offset | Vector 2D | — | How far the pattern is shifted, in the image's own pixels: change it every frame to scroll. |
| tint | Color | — | Each pixel multiplied by this colour; white at a low alpha for a faint texture. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Audio Output
FunctionWhere this application's sound comes out. Attached by whatever is running it.
AudioOutput(Realtime Application: Realtime Application) -> I Realtime Audio Output
IRealtimeAudioOutput AudioOutput(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | I Realtime Audio Output |
Remarks
Settable rather than constructed here, because the package a graph is authored against must not
depend on an audio backend - SFML lives in the framework, behind IRealtimeAudioOutput. A run with
nothing attached REFUSES BY NAME rather than going quietly silent, which is the failure the thirty-
nine forwarders this class used to carry produced whenever their handle was unset.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Audio Output If Attached
FunctionThe audio output if one was attached, and null if this run has been silent.
AudioOutputIfAttached(Realtime Application: Realtime Application) -> I Realtime Audio Output
IRealtimeAudioOutput AudioOutputIfAttached(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | I Realtime Audio Output |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Close Requested
FunctionWhether the application has asked to stop. A host reads this and ends its loop.
CloseRequested(Realtime Application: Realtime Application) -> Truth
bool CloseRequested(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Truth |
Remarks
ShadowGUI's FrameResult.ExitRequested, in the one shape that works here: a program that wants to end
says so, and whatever is driving it decides what that means. It used to reach through its service
provider to call Close on the window, which is a program holding its host.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Cursor Visible
FunctionWhether the application wants a cursor shown. A host reads this.
CursorVisible(Realtime Application: Realtime Application) -> Truth
bool CursorVisible(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Debugging
FunctionWhether the application draws its own frame-rate readout.
Debugging(Realtime Application: Realtime Application) -> Truth
bool Debugging(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Truth |
Remarks
A flag the application reads rather than something a host does for it. The overlay used to be SFML
`Text` drawn onto the window AFTER the frame, which a host that only uploads a framebuffer cannot
do - so it becomes the application's own drawing, like everything else here.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Desired Background Color
FunctionWhat Clear paints when it is given no colour of its own.
DesiredBackgroundColor(Realtime Application: Realtime Application) -> Optional Color
ColorElement? DesiredBackgroundColor(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Optional Color |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Desired Frame Rate
FunctionThe frame rate the application asks for, in hertz; 0, the default, for as fast as the display allows. A host that was given a rate of its own keeps it.
DesiredFrameRate(Realtime Application: Realtime Application) -> Number
double DesiredFrameRate(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Desired Window Size
FunctionThe size the application wants. A host may show it larger and scale, but this is what drawing is
laid out against and what the framebuffer is built at.
DesiredWindowSize(Realtime Application: Realtime Application) -> Size
Size DesiredWindowSize(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Size |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Desired Window Title
FunctionThe window's title.
DesiredWindowTitle(Realtime Application: Realtime Application) -> Text
string DesiredWindowTitle(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Text |
Remarks
Round 25: a game published as a program is a window of its own, and its title bar said "Divoka - Glaze!" whatever the game was; the window now says what the document sets here, "Divooka" until it does.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Elapsed Time
FunctionMilliseconds the last frame took. Set by whatever drives the loop.
ElapsedTime(Realtime Application: Realtime Application) -> Number
double ElapsedTime(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Framebuffer
FunctionThe pixels. Valid between frames; rebuilt when the window is resized.
Framebuffer(Realtime Application: Realtime Application) -> Pixel Image
PixelImage Framebuffer(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Pixel Image |
Remarks
The application owns its framebuffer, exactly as ShadowGUI's does - there is no host holding pixels
and no conversion step between drawing and reading, so `Capture` is a copy of this and nothing else.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Input
FunctionWhere the pointer is and which keys are down.
Input(Realtime Application: Realtime Application) -> Glaze Input State
GlazeInputState Input(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Glaze Input State |
Remarks
The SFML backend reads `SFML.Window.Mouse` and `SFML.Window.Keyboard` STATICS - process-wide state
belonging to a real device - which is exactly why an offline run could not synthesise input. Here it
is ordinary state on the window, so a driver sets it and the document reads it back through the same
contract it always used.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
In Update Loop
FunctionWhether a frame is being drawn.
InUpdateLoop(Realtime Application: Realtime Application) -> Truth
bool InUpdateLoop(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Truth |
Remarks
Ten drawing routines consult this. Drawing outside the loop is refused rather than ignored because
the pixels it produced would be overwritten by the next Clear without ever being shown, and a draw
that silently does nothing is worse than one that says why.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Is Rasterizing
FunctionWhether this window rasterizes, or merely records.
IsRasterizing(Realtime Application: Realtime Application) -> Truth
bool IsRasterizing(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Requested Cursor
FunctionWhat cursor the application would like. A host reads this; an application draws no cursor itself.
RequestedCursor(Realtime Application: Realtime Application) -> Cursor Type
CursorType RequestedCursor(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Cursor Type |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Sink
FunctionWhere drawing goes: the framebuffer's rasterizer by default, or whatever was composed in.
Sink(Realtime Application: Realtime Application) -> IGeometrySink
IGeometrySink Sink(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | IGeometrySink |
Remarks
Settable so a test can swap in a recorder mid-run - the drawing code neither knows nor can tell,
because everything below is written against the interface.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Storage
FunctionPer-run storage a node can keep something in, cleared when a run starts.
Storage(Realtime Application: Realtime Application) -> Dictionary of Text to Any
Dictionary<string, object> Storage(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Dictionary of Text to Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Actual Window Size
FunctionThis node carries no documentation.
GetActualWindowSize(Realtime Application: Realtime Application) -> Vector 2D
Vector2D GetActualWindowSize(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Vector 2D |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Elapsed Time
FunctionThis node carries no documentation.
GetElapsedTime(Realtime Application: Realtime Application) -> Number
double GetElapsedTime(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Mouse Button States
FunctionThis node carries no documentation.
GetMouseButtonStates(Realtime Application: Realtime Application) -> (LLMDown: Truth, LLMUp: Truth, MMMDown: Truth, MMMUp: Truth, RMBDown: Truth, RMBUp: Truth)
void GetMouseButtonStates(
RealtimeApplication Realtime Application,
out bool LLMDown,
out bool LLMUp,
out bool MMMDown,
out bool MMMUp,
out bool RMBDown,
out bool RMBUp)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| LLMDown | Truth |
| LLMUp | Truth |
| MMMDown | Truth |
| MMMUp | Truth |
| RMBDown | Truth |
| RMBUp | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Mouse Position
FunctionThis node carries no documentation.
Overload 1 of 2
GetMousePosition(Realtime Application: Realtime Application) -> Vector 2D
Vector2D GetMousePosition(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Vector 2D |
Overload 2 of 2
GetMousePosition(Realtime Application: Realtime Application) -> (x: Number, y: Number)
void GetMousePosition(
RealtimeApplication Realtime Application,
out double x,
out double y)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| x | Number |
| y | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Recording Devices
FunctionThe recording devices on this machine, by name, for Open Microphone.
GetRecordingDevices(Realtime Application: Realtime Application) -> Text Array
string[] GetRecordingDevices(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| Devices | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Sound Level
FunctionHow loud the sound is now: 0 for silence, 1 for a sine at full scale, over the newest 2048 samples, about 45 ms - what a level meter shows.
GetSoundLevel -> Number
Realtime Application: Realtime Application
microphone: Anydouble GetSoundLevel(
RealtimeApplication Realtime Application,
object microphone)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| microphone | Any | — | From Open Microphone, to measure what it hears; what is playing when not connected. |
Returns
| Level | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Sound Spectrum
FunctionHow loud each part of the sound is now, from the bass on the left to the treble on the right: bands spaced evenly in pitch from 40 Hz to 16 kHz, each 0 at -60 dB or quieter and 1 at full scale - the bars of a spectrum visualizer.
GetSoundSpectrum -> Number Array
Realtime Application: Realtime Application
bands: Integer
microphone: Anydouble[] GetSoundSpectrum(
RealtimeApplication Realtime Application,
int bands = 16,
object microphone)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| bands | Integer | 16 | How many bars, 1 to 128. |
| microphone | Any | — | From Open Microphone, to measure what it hears; what is playing when not connected. |
Returns
| Levels | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Sound Waveform
FunctionThe newest samples of the sound, oldest first, for an oscilloscope to draw: each -1 to 1.
GetSoundWaveform -> Number Array
Realtime Application: Realtime Application
samples: Integer
microphone: Anydouble[] GetSoundWaveform(
RealtimeApplication Realtime Application,
int samples = 735,
object microphone)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| samples | Integer | 735 | How many, 1 to 8192: 735 is one frame at 60 frames a second. |
| microphone | Any | — | From Open Microphone, to draw what it hears; what is playing when not connected. |
Returns
| Waveform | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Storage
FunctionThis node carries no documentation.
GetStorage(Realtime Application: Realtime Application) -> Dictionary of Text to Any
Dictionary<string, object> GetStorage(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Dictionary of Text to Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Get Window Size
FunctionGet design-time or specified window size.
GetWindowSize(Realtime Application: Realtime Application) -> Vector 2D
Vector2D GetWindowSize(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Vector 2D |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Hide Cursor
FunctionThis node carries no documentation.
HideCursor(Realtime Application: Realtime Application)
void HideCursor(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Is Key Down
FunctionThis node carries no documentation.
IsKeyDown -> Truth
Realtime Application: Realtime Application
key: Keyboard Keybool IsKeyDown(
RealtimeApplication Realtime Application,
KeyboardKey key)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| key | Keyboard Key | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Is Sound Playing
FunctionThis node carries no documentation.
IsSoundPlaying -> Truth
Realtime Application: Realtime Application
sound: Anybool IsSoundPlaying(
RealtimeApplication Realtime Application,
object sound)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound, music or signal from one of the Play nodes. |
Returns
| Playing | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Make Sprite
FunctionThis node carries no documentation.
Overload 1 of 4
MakeSprite -> GlazeSprite
Realtime Application: Realtime Application
imagePath: Text
scale: Number
centered: TruthGlazeSprite MakeSprite(
RealtimeApplication Realtime Application,
string imagePath,
double scale = 1,
bool centered = false)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| imagePath | Text | — | |
| scale | Number | 1 | |
| centered | Truth | False |
Returns
| result | GlazeSprite |
Overload 2 of 4
MakeSprite -> GlazeSprite
Realtime Application: Realtime Application
image: Pixel Image
scale: Number
centered: TruthGlazeSprite MakeSprite(
RealtimeApplication Realtime Application,
PixelImage image,
double scale = 1,
bool centered = false)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| image | Pixel Image | — | |
| scale | Number | 1 | |
| centered | Truth | False |
Returns
| result | GlazeSprite |
Overload 3 of 4
MakeSprite -> GlazeSprite
Realtime Application: Realtime Application
imagePath: Text
sourceStart: Vector 2D
size: Vector 2D
scale: Number
centered: TruthGlazeSprite MakeSprite(
RealtimeApplication Realtime Application,
string imagePath,
Vector2D sourceStart,
Vector2D size,
double scale,
bool centered)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| imagePath | Text | — | |
| sourceStart | Vector 2D | — | |
| size | Vector 2D | — | |
| scale | Number | — | |
| centered | Truth | — |
Returns
| result | GlazeSprite |
Overload 4 of 4
MakeSprite -> GlazeSprite
Realtime Application: Realtime Application
image: Pixel Image
sourceStart: Vector 2D
size: Vector 2D
scale: Number
centered: TruthGlazeSprite MakeSprite(
RealtimeApplication Realtime Application,
PixelImage image,
Vector2D sourceStart,
Vector2D size,
double scale,
bool centered)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| image | Pixel Image | — | |
| sourceStart | Vector 2D | — | |
| size | Vector 2D | — | |
| scale | Number | — | |
| centered | Truth | — |
Returns
| result | GlazeSprite |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Open Microphone
FunctionStarts listening to a microphone, so the measuring nodes can hear it: pass what this returns as their Microphone.
OpenMicrophone -> Any
Realtime Application: Realtime Application
device: Textobject OpenMicrophone(
RealtimeApplication Realtime Application,
string device = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| device | Text | — | A name from Get Recording Devices; empty for the default. |
Returns
| Microphone | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Play Clip
FunctionPlays a clip from memory - one the audio nodes made, generated rather than recorded.
PlayClip -> Any
Realtime Application: Realtime Application
audio: AudioBuffer
volume: Number
pan: Number
pitch: Number
loop: Truthobject PlayClip(
RealtimeApplication Realtime Application,
AudioBuffer audio,
double volume = 1,
double pan = 0,
double pitch = 1,
bool loop = false)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| audio | AudioBuffer | — | The clip. |
| volume | Number | 1 | 0 to 1. |
| pan | Number | 0 | -1 (left) to 1 (right). |
| pitch | Number | 1 | Playback speed: 2 is an octave up and twice as fast. |
| loop | Truth | False | Whether it repeats until stopped. |
Returns
| Sound | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Play Music
FunctionPlays a music file, looping by default: WAV, OGG/Vorbis, FLAC or MP3. Music is never cut short to make room for another sound.
PlayMusic -> Any
Realtime Application: Realtime Application
filePath: Text
loop: Truthobject PlayMusic(
RealtimeApplication Realtime Application,
string filePath,
bool loop = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| filePath | Text | — | The file. |
| loop | Truth | True | Whether it repeats. |
Returns
| Music | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Play Signal
FunctionPlays a signal, synthesized as it plays, until it is stopped: the same on both sides. A Microphone in it is heard live.
PlaySignal -> Any
Realtime Application: Realtime Application
signal: Signal
volume: Numberobject PlaySignal(
RealtimeApplication Realtime Application,
Signal signal,
double volume = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| signal | Signal | — | What to play. |
| volume | Number | 1 | 0 to 1. |
Returns
| Sound | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Play Sound
FunctionPlays a sound file once: WAV, OGG/Vorbis, FLAC or MP3.
PlaySound -> Any
Realtime Application: Realtime Application
filePath: Textobject PlaySound(
RealtimeApplication Realtime Application,
string filePath)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| filePath | Text | — | The file. |
Returns
| Sound | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Play Stereo Signal
FunctionPlays a stereo signal - a panned voice, a stereo reverb or chorus - synthesized as it plays, until it is stopped.
PlayStereoSignal -> Any
Realtime Application: Realtime Application
stereo: Stereo Signal
volume: Numberobject PlayStereoSignal(
RealtimeApplication Realtime Application,
StereoSignal stereo,
double volume = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| stereo | Stereo Signal | — | What to play. |
| volume | Number | 1 | 0 to 1. |
Returns
| Sound | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Present
FunctionMake sure every draw has reached the pixels, then answer them.
Present(Realtime Application: Realtime Application) -> Pixel Image
PixelImage Present(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Request Close
FunctionAsk to stop after this frame.
RequestClose(Realtime Application: Realtime Application)
void RequestClose(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Cursor
FunctionThis node carries no documentation.
SetCursor
Realtime Application: Realtime Application
cursorType: Cursor Typevoid SetCursor(
RealtimeApplication Realtime Application,
CursorType cursorType)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| cursorType | Cursor Type | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Frame Rate
FunctionPaces the frames at a steady rate, so every frame's delta is the same and motion is smooth: 60 for most games, 120 for a fast one; 0 for as fast as the display allows.
SetFrameRate
Realtime Application: Realtime Application
framesPerSecond: Numbervoid SetFrameRate(
RealtimeApplication Realtime Application,
double framesPerSecond = 60)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| framesPerSecond | Number | 60 | 0 to 1000. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Loop
FunctionThis node carries no documentation.
SetLoop
Realtime Application: Realtime Application
sound: Any
loop: Truthvoid SetLoop(
RealtimeApplication Realtime Application,
object sound,
bool loop = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound or music from one of the Play nodes. |
| loop | Truth | True | Whether it repeats. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Master Volume
FunctionThe volume of everything at once, on top of each sound's own: a game's volume setting.
SetMasterVolume
Realtime Application: Realtime Application
volume: Numbervoid SetMasterVolume(
RealtimeApplication Realtime Application,
double volume = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| volume | Number | 1 | 0 to 1. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Pan
FunctionThis node carries no documentation.
SetPan
Realtime Application: Realtime Application
sound: Any
pan: Numbervoid SetPan(
RealtimeApplication Realtime Application,
object sound,
double pan = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound, music or signal from one of the Play nodes. |
| pan | Number | 0 | -1 (left) to 1 (right). |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Pitch
FunctionThis node carries no documentation.
SetPitch
Realtime Application: Realtime Application
sound: Any
pitch: Numbervoid SetPitch(
RealtimeApplication Realtime Application,
object sound,
double pitch = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound, music or signal from one of the Play nodes. |
| pitch | Number | 1 | Playback speed: 1 as recorded, 2 an octave up and twice as fast. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Volume
FunctionThis node carries no documentation.
SetVolume
Realtime Application: Realtime Application
sound: Any
volume: Numbervoid SetVolume(
RealtimeApplication Realtime Application,
object sound,
double volume = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound, music or signal from one of the Play nodes. |
| volume | Number | 1 | 0 to 1. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Window Background
FunctionThis node carries no documentation.
SetWindowBackground
Realtime Application: Realtime Application
background: Optional Colorvoid SetWindowBackground(
RealtimeApplication Realtime Application,
ColorElement? background)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| background | Optional Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Window Size
FunctionThis node carries no documentation.
SetWindowSize
Realtime Application: Realtime Application
width: Number
height: Numbervoid SetWindowSize(
RealtimeApplication Realtime Application,
double width = 1024,
double height = 768)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| width | Number | 1024 | |
| height | Number | 768 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Set Window Title
FunctionSet the window's title.
SetWindowTitle
Realtime Application: Realtime Application
title: Textvoid SetWindowTitle(
RealtimeApplication Realtime Application,
string title = "Divooka")Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| title | Text | Divooka |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Show Cursor
FunctionThis node carries no documentation.
Overload 1 of 2
ShowCursor
Realtime Application: Realtime Application
cursorType: Cursor Typevoid ShowCursor(
RealtimeApplication Realtime Application,
CursorType cursorType)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| cursorType | Cursor Type | — |
Overload 2 of 2
ShowCursor(Realtime Application: Realtime Application)
void ShowCursor(RealtimeApplication Realtime Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Show Debug Information
FunctionThis node carries no documentation.
ShowDebugInformation
Realtime Application: Realtime Application
show: Truthvoid ShowDebugInformation(
RealtimeApplication Realtime Application,
bool show)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| show | Truth | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Sprite Collide
FunctionThis node carries no documentation.
SpriteCollide -> Truth
Realtime Application: Realtime Application
sprite1: GlazeSprite
position1: Vector 2D
rotation1: Integer
sprite2: GlazeSprite
position2: Vector 2D
rotation2: Integerbool SpriteCollide(
RealtimeApplication Realtime Application,
GlazeSprite sprite1,
Vector2D position1,
int rotation1,
GlazeSprite sprite2,
Vector2D position2,
int rotation2)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sprite1 | GlazeSprite | — | |
| position1 | Vector 2D | — | |
| rotation1 | Integer | — | |
| sprite2 | GlazeSprite | — | |
| position2 | Vector 2D | — | |
| rotation2 | Integer | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Stop All Sounds
FunctionStops everything playing, fading it out over some seconds.
StopAllSounds
Realtime Application: Realtime Application
fade: Numbervoid StopAllSounds(
RealtimeApplication Realtime Application,
double fade = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| fade | Number | 0 | Seconds. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Stop Sound
FunctionStops a sound, fading it out over some seconds; 0 stops it at once.
StopSound
Realtime Application: Realtime Application
sound: Any
fade: Numbervoid StopSound(
RealtimeApplication Realtime Application,
object sound,
double fade = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| Realtime Application | Realtime Application | — | |
| sound | Any | — | A sound, music or signal from one of the Play nodes. |
| fade | Number | 0 | Seconds. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Initialized
EventWindow is created.
Initialized()
void Initialized()
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Key Down
EventA key went down.
KeyDown(key: Keyboard Key)
void KeyDown(KeyboardKey key)
Parameters
| name | type | default | description |
|---|---|---|---|
| key | Keyboard Key | — | The key pressed. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Key Up
EventA key came back up.
KeyUp(key: Keyboard Key)
void KeyUp(KeyboardKey key)
Parameters
| name | type | default | description |
|---|---|---|---|
| key | Keyboard Key | — | The key released. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Mouse Down
EventA pointer button went down - a click begins, a drag starts.
MouseDown(button: Mouse Button, position: Vector 2D)
void MouseDown(MouseButton button, Vector2D position)
Parameters
| name | type | default | description |
|---|---|---|---|
| button | Mouse Button | — | Which button. |
| position | Vector 2D | — | Where, in the framebuffer's pixels, whatever size the window is. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Mouse Up
EventA pointer button came back up - a click ends, a drag drops.
MouseUp(button: Mouse Button, position: Vector 2D)
void MouseUp(MouseButton button, Vector2D position)
Parameters
| name | type | default | description |
|---|---|---|---|
| button | Mouse Button | — | Which button. |
| position | Vector 2D | — | Where, in the framebuffer's pixels. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Start
EventDivooka procedural program entry, equivalent to "Main" in many programming language. Runs before
the window exists; RealtimeApplication.Initialized is the one that runs when it does.
Start()
void Start()
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime
Update
EventCalled once per frame. Procedural context entrance.
Update(deltaTimeMiliseconds: Number)
void Update(double deltaTimeMiliseconds)
Parameters
| name | type | default | description |
|---|---|---|---|
| deltaTimeMiliseconds | Number | — | Time elapsed since the previous frame. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Realtime Application
- Package
- Glaze Realtime