Image allows you to create an image plane that you can move, rotate, and resize in the scene.
Add an Image Component
Add an Image component by clicking + Add Component > 2D > Image in the Inspector panel.
|Adds a material from the Assets panel.
|Sets the target image asset for the Image component. You can import a texture directly in the Inspector panel.
|Sets the current image to blend with whatever is behind it.
|Sets the transparency of the image. The range is from 0.0 to 1.0, with a default value of 1.0.
|Sets the color that will blend with the image texture.
|Size (Width, Height)
|The size of the bounding box that limits the dimensions of the image texture. The Size property is used in conjunction with Stretch Mode, and is independent of the image texture’s dimensions. The default value is (10, 10).
|The center of the image plane that affects its movement and rotation. When the Image is manipulated in the scene, it will pivot around the defined point. The default value is (0.5, 0.5).
|Defines how the image fits into its bounding box. Below are the available Stretch Modes to choose from:
|Flips the image horizontally.
|Flips the image vertically.
|Edits or paints each pixel to make it the result color SrcAlpha, OneMinusSrcAlpha.
|min(a,b): Looks at the color information in each channel and selects the base or blend color, choose whichever is darker as the result color.
|a*b: Looks at the color information in each channel and multiplies the base colors by blend colors.
|max(a.b): Looks at the color information in each channel and selects the base or blend color whichever is lighter as the result color.
|1-(1-a)(1-b): Looks at each channel’s color information and multiplies the inverse of the blend and base colors. The result color is always a lighter color.
|Burn / Color Burn
|1-(1-b)/a: Looks at the color information in each channel and darkens the base color to reflect the blend color by increasing the contrast between the two.
|Dodge / Color Dodge
|b / (1 – a): Looks at the color information in each channel and brightens the base color to reflect the blend color by decreasing contrast between the two.
|a+b: Looks at the color information in each channel and brightens the base color to reflect the blend color by increasing the brightness.
|Patterns or colors overlay the existing pixels while preserving the highlights and shadows of the base color.
|The effect is similar to shining a diffused spotlight on the image. If the blend color (light source) is lighter than 50% gray, the image is lightened as if it were dodged. If the blend color is darker than 50% gray, the image is darkened as if it were burned in.
|If the blend color (light source) is lighter than 50% gray, the image is lightened, as if it were screened. This is useful for adding highlights to an image. If the blend color is darker than 50% gray, the image is darkened, as if it were multiplied.
|Creates an effect similar to but lower in contrast than the Difference mode. Blending with white inverts the base color values. Blending with black produces no change.