Changes
Page history
Added Scale
authored
Mar 27, 2025
by
Brickgard
Show whitespace changes
Inline
Side-by-side
Components/Asset-Layers.md
View page @
585cff30
...
...
@@ -24,6 +24,12 @@ Some layers can be colored, such as tinting a texture or a font color. Supports
color
:
white
color
:
"
#ffbb00"
```
### Scale
A layer can be scaled, changing the pixel resolution of the input texture by this multiplier.
\
For example, this would take a 32px square texture and display it as a 16px square texture:
```
yaml
scale
:
0.5
```
## Contents
### Text Layer
Text layers can be static or contain placeholders, either from the layer's listener or PlaceholderAPI.
...
...
@@ -85,6 +91,7 @@ fill:
align
:
right
outlined
:
false
color
:
"
#f23a3a"
scale
:
0.5
offset
:
x
:
0
y
:
0
...
...
...
...