PixelTextureBaseOptions
What every pixel texture takes, painted or drawn from files.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
name |
string |
undefined |
What errors name it by, and what keys its random stream, so two textures on one seed paint apart: "grass". |
normalScale? |
number |
1 |
three’s normalScale, on both axes: how strongly the height bumps under the light. |
pixelsPerMetre? |
number |
16 |
How many texels make a metre, the 2D frame’s. |
variation? |
"none" | "turn-and-mirror" | "mirror" | TextureVariation |
TextureVariation.TurnAndMirror |
How a pixel material varies it across a surface; a material may override it. |