![pixel 3 f1 2019 image pixel 3 f1 2019 image](https://img.haote.com/upload/single/202008/04/159650567690941.jpg)
The amount of pixels per unit to use for dynamically created bitmaps in the UI, such as Text.
![pixel 3 f1 2019 image pixel 3 f1 2019 image](https://www.planetenumerique.com/local/cache-vignettes/L1200xH630/e1a9fceed515eff19c9588c3b36bd0-c119b.jpg)
Settings for World Space Canvas (shown when Canvas component is set to World Space): Property: If a sprite has this ‘Pixels Per Unit’ setting, then its DPI will match the ‘Default Sprite DPI’ setting. The pixels per inch to use for sprites that have a ‘Pixels Per Unit’ setting that matches the ‘Reference Pixels Per Unit’ setting. The DPI to assume if the screen DPI is not known. The physical unit to specify positions and sizes in. Settings for Constant Physical Size: Property: If a sprite has this ‘Pixels Per Unit’ setting, then one pixel in the sprite will cover one unit in the UI. Scale the canvas area with the width as reference, the height as reference, or something in between.Įxpand the canvas area either horizontally or vertically, so the size of the canvas will never be smaller than the reference.Ĭrop the canvas area either horizontally or vertically, so the size of the canvas will never be larger than the reference.ĭetermines if the scaling is using the width or height as reference, or a mix in between. See in Glossary of the current resolution doesn’t fit the reference resolution. If the screen resolution is larger, the UI will be scaled up, and if it’s smaller, the UI will be scaled down.Ī mode used to scale the canvas area if the aspect ratio The relationship of an image’s proportional dimensions, such as its width and height. The resolution the UI layout is designed for. Settings for Scale With Screen Size: Property: See in Glossary has this ‘Pixels Per Unit’ setting, then one pixel in the sprite will cover one unit in the UI. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. Scales all UI elements in the Canvas by this factor. Settings for Constant Pixel Size: Property: Makes UI elements retain the same physical size regardless of screen size and resolution. Makes UI elements bigger the bigger the screen is. Makes UI elements retain the same size in pixels regardless of screen size. Properties Property:ĭetermines how UI elements in the Canvas are scaled.
![pixel 3 f1 2019 image pixel 3 f1 2019 image](https://ih1.redbubble.net/image.1288679405.8177/bg,f8f8f8-flat,750x,075,f-pad,750x1000,f8f8f8.jpg)
This scaling affects everything under the Canvas, including font sizes and image borders. See in Glossary density of UI (User Interface) Allows a user to interact with your application. Pixel lighting is calculated at every screen pixel. Pixel size depends on your screen resolution. The Canvas Scaler component is used for controlling the overall scale and pixel The smallest unit in a computer image.