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

    Class NetworkImage

    Inheritance
    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
    String url
    Single scale
    IDictionary<String, String> headers

    Fields

    headers

    Declaration
    public readonly IDictionary<string, string> headers
    Field Value
    Type Description
    IDictionary<String, String>

    scale

    Declaration
    public readonly float scale
    Field Value
    Type Description
    Single

    url

    Declaration
    public readonly string url
    Field Value
    Type Description
    String

    Methods

    Equals(Object)

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

    Equals(NetworkImage)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    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
    String
    Overrides
    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
    Boolean

    Inequality(NetworkImage, NetworkImage)

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