PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

ResampleMode

ImageButton

ResamplerMode

Determines how the image looks when it is scaled.

By default, the image smooths out the texture when displayed either larger or smaller than its size in texture memory. In contrast, Enum/ResamplerMode.Pixelated|Enum.ResamplerMode.Pixelated preserves the sharp edges of the image pixels.