Image
class in UnityEngine.UI · UnityEngine.UI · inherits from MaskableGraphic
34 of 41 of Unity's members
In Tassix
A sprite drawn over the rect: simple (optionally keeping the sprite's aspect), sliced by its border (9 quads, the center optional), tiled, or filled horizontally, vertically or radially.
Properties 22
float alphaHitTestMinimumThreshold { get; set; }float fillAmount { get; set; }bool fillCenter { get; set; }bool fillClockwise { get; set; }FillMethod fillMethod { get; set; }int fillOrigin { get; set; }virtual float flexibleHeight { get; }virtual float flexibleWidth { get; }bool hasBorder { get; }virtual int layoutPriority { get; }Texture mainTexture { get; }virtual float minHeight { get; }virtual float minWidth { get; }Sprite? overrideSprite { get; set; }float pixelsPerUnit { get; }Sprite pixels per canvas unit.
float pixelsPerUnitMultiplier { get; set; }virtual float preferredHeight { get; }virtual float preferredWidth { get; }bool preserveAspect { get; set; }Sprite? sprite { get; set; }Type type { get; set; }bool useSpriteMesh { get; set; }Methods 3
virtual void CalculateLayoutInputHorizontal()virtual void CalculateLayoutInputVertical()void SetNativeSize()Not in Tassix yet 7
DisableSpriteOptimizations IsRaycastLocationValid OnAfterDeserialize OnBeforeSerialize OnValidate defaultETC1GraphicMaterial s_ETC1DefaultUI
Checked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.