The appearance of a virtual input is defined by the layer system. You can add a layer by clicking on the + button next to the virtual input name in the hierarchy. You can also right-click on an existing layer to show context menu and insert a new layer above or below the selected layer.
Order matters! Layers are rendered from top to bottom. The last layer is therefore drawn last.
Layer #
- Image : Can be a Texture, render target or material (user interface material domain)
- Image Size : Size of brush. Could be important if you use “Use Brush Size” parameter.
- Tint : Override color of brush.
- Draw as : Draw type for this brush.
- Tilling : Tilling type for this brush.
Brush Settings #
- Use Brush Size : Use brush size instead of visual size for this layer.
- Layer Type : Define the type (bitflags) of layer.
- Background : This layer is used as background.
- Thumb (for joystick) : This layer is used as background for thumbstick. It follow the thumbstick position.
- Pressed : This layer is used in pressed state.
- Released : This layer is used in released state.
- Disabled : This layer is used in disabled state.
Transform #
- Offset : Offset of layer
- Rotation : Rotation of layer