Skip to main content

Sprites Prefabs

sprites

This array contains sprite-based prefabs like the hint

Hint

Text message on the screen.

Usage

"sprites": [
{
"hint": {
"text": "Simple Text!",
"font": "path/to/font/file",
"color": "1 0 0 1",
"size": "1000 500",
"translation": "0 0",
"rotation": "0 0 0"
}
// ...
}
// ...
]
ParameterDescriptionOptionalDefault Value

text

Message will be displayed.

++

font

Path to the font file.

default font

color

Color of the text.

1 1 1 1

size

Size of the text area [X, Y].

100 100

translation

Translate the model along X, Y axes.

0 0

rotation

Rotation angles (in radians) over X, Y, Z axes.

0 0 0

Preview

Drag