struct
ImageAdjustment
The position and scale adjustments to apply when rendering an image.
Fields
CenterUV | Specifies the center position of the image in UV space, where UVs go from |
PixelsPerUnitMultiplier | A multiplier that scales how Sliced and Tiled images are rendered. Specifically, PixelsPerUnitMultiplier determines how many pixels from the target image fit into a 1x1 square in the target UIBlock2D's local space. |
UVScale | Specifies how much to scale the image in UV space, where UVs go from |
Properties
ScaleMode |
|
Constructors
ImageAdjustment(Vector2, Vector2) | Constructs a new ImageAdjustment with ScaleMode set to Manual. |