Renderer Settings
Configuring renderer-specific properties of the NSliceSpriteRenderer
Renderer Settings
NSliceSpriteRenderer provides rendering settings similar to the standard SpriteRenderer. This page explains how to configure the renderer's basic properties.
Renderer Basic Settings
Color
Adjusts the color and transparency of the sprite.
- Default Value: White (255, 255, 255, 255)
- Color Picker: Click to open the color selection interface
- RGB Values: Individually adjust red, green, and blue channels
- Alpha Value: Controls transparency (0 = fully transparent, 255 = fully opaque)
Flip X
Flips the sprite horizontally.
- Checkbox: When enabled, the image is mirrored left-to-right along the X-axis
- Default Value: Disabled (false)
Flip Y
Flips the sprite vertically.
- Checkbox: When enabled, the image is mirrored up-down along the Y-axis
- Default Value: Disabled (false)
N-Slice and Flip Interactions
Important considerations when using Flip functionality with N-Slice images:
- Flip X: The left and right flip.
- Flip Y: The top and bottom flip.
Performance Considerations
- Color changes are applied in real-time with minimal performance impact
- Flip setting changes cause mesh regeneration, so avoid frequent runtime changes