Class NetworkImage | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class NetworkImage

    Inheritance
    System.Object
    ImageProvider
    ImageProvider<NetworkImage>
    NetworkImage
    Inherited Members
    ImageProvider<NetworkImage>.resolve(ImageConfiguration)
    ImageProvider<NetworkImage>.evict(ImageCache, ImageConfiguration)
    Namespace: Unity.UIWidgets.painting
    Syntax
    public class NetworkImage : ImageProvider<NetworkImage>, IEquatable<NetworkImage>

    Constructors

    NetworkImage(String, Single, IDictionary<String, String>)

    Declaration
    public NetworkImage(string url, float scale = 1F, IDictionary<string, string> headers = null)
    Parameters
    Type Name Description
    System.String url
    System.Single scale
    System.Collections.Generic.IDictionary<System.String, System.String> headers

    Fields

    headers

    Declaration
    public readonly IDictionary<string, string> headers
    Field Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>

    scale

    Declaration
    public readonly float scale
    Field Value
    Type Description
    System.Single

    url

    Declaration
    public readonly string url
    Field Value
    Type Description
    System.String

    Methods

    Equals(Object)

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

    Equals(NetworkImage)

    Declaration
    public bool Equals(NetworkImage other)
    Parameters
    Type Name Description
    NetworkImage other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

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

    load(NetworkImage)

    Declaration
    protected override ImageStreamCompleter load(NetworkImage key)
    Parameters
    Type Name Description
    NetworkImage key
    Returns
    Type Description
    ImageStreamCompleter
    Overrides
    Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.NetworkImage>.load(Unity.UIWidgets.painting.NetworkImage)

    obtainKey(ImageConfiguration)

    Declaration
    protected override IPromise<NetworkImage> obtainKey(ImageConfiguration configuration)
    Parameters
    Type Name Description
    ImageConfiguration configuration
    Returns
    Type Description
    IPromise<NetworkImage>
    Overrides
    Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.NetworkImage>.obtainKey(Unity.UIWidgets.painting.ImageConfiguration)

    ToString()

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

    Operators

    Equality(NetworkImage, NetworkImage)

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

    Inequality(NetworkImage, NetworkImage)

    Declaration
    public static bool operator !=(NetworkImage left, NetworkImage right)
    Parameters
    Type Name Description
    NetworkImage left
    NetworkImage right
    Returns
    Type Description
    System.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