Class Image | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class Image

    Inheritance
    Object
    Image
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class Image : IEquatable<Image>, IDisposable

    Constructors

    Image(Texture, Boolean, Boolean, AssetBundle, Boolean)

    Declaration
    public Image(Texture texture, bool noDispose = false, bool isAsset = false, AssetBundle bundle = null, bool isDynamic = false)
    Parameters
    Type Name Description
    Texture texture
    Boolean noDispose
    Boolean isAsset
    AssetBundle bundle
    Boolean isDynamic

    Properties

    height

    Declaration
    public int height { get; }
    Property Value
    Type Description
    Int32

    isDynamic

    Declaration
    public bool isDynamic { get; }
    Property Value
    Type Description
    Boolean

    texture

    Declaration
    public Texture texture { get; }
    Property Value
    Type Description
    Texture

    valid

    Declaration
    public bool valid { get; }
    Property Value
    Type Description
    Boolean

    width

    Declaration
    public int width { get; }
    Property Value
    Type Description
    Int32

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Equals(Image)

    Declaration
    public bool Equals(Image other)
    Parameters
    Type Name Description
    Image other
    Returns
    Type Description
    Boolean

    Finalize()

    Declaration
    protected void Finalize()

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    Equality(Image, Image)

    Declaration
    public static bool operator ==(Image left, Image right)
    Parameters
    Type Name Description
    Image left
    Image right
    Returns
    Type Description
    Boolean

    Inequality(Image, Image)

    Declaration
    public static bool operator !=(Image left, Image right)
    Parameters
    Type Name Description
    Image left
    Image right
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023