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

    Class ImageConfiguration

    Inheritance
    System.Object
    ImageConfiguration
    Namespace: Unity.UIWidgets.painting
    Syntax
    public class ImageConfiguration : IEquatable<ImageConfiguration>

    Constructors

    ImageConfiguration(AssetBundle, Nullable<Single>, Locale, Size, Nullable<RuntimePlatform>)

    Declaration
    public ImageConfiguration(AssetBundle bundle = null, float? devicePixelRatio = default(float? ), Locale locale = null, Size size = null, RuntimePlatform? platform = default(RuntimePlatform? ))
    Parameters
    Type Name Description
    AssetBundle bundle
    System.Nullable<System.Single> devicePixelRatio
    Locale locale
    Size size
    System.Nullable<RuntimePlatform> platform

    Fields

    bundle

    Declaration
    public readonly AssetBundle bundle
    Field Value
    Type Description
    AssetBundle

    devicePixelRatio

    Declaration
    public readonly float? devicePixelRatio
    Field Value
    Type Description
    System.Nullable<System.Single>

    empty

    Declaration
    public static readonly ImageConfiguration empty
    Field Value
    Type Description
    ImageConfiguration

    locale

    Declaration
    public readonly Locale locale
    Field Value
    Type Description
    Locale

    platform

    Declaration
    public readonly RuntimePlatform? platform
    Field Value
    Type Description
    System.Nullable<RuntimePlatform>

    size

    Declaration
    public readonly Size size
    Field Value
    Type Description
    Size

    Methods

    copyWith(AssetBundle, Nullable<Single>, Locale, Size, Nullable<RuntimePlatform>)

    Declaration
    public ImageConfiguration copyWith(AssetBundle bundle = null, float? devicePixelRatio = default(float? ), Locale locale = null, Size size = null, RuntimePlatform? platform = default(RuntimePlatform? ))
    Parameters
    Type Name Description
    AssetBundle bundle
    System.Nullable<System.Single> devicePixelRatio
    Locale locale
    Size size
    System.Nullable<RuntimePlatform> platform
    Returns
    Type Description
    ImageConfiguration

    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(ImageConfiguration)

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

    GetHashCode()

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

    ToString()

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

    Operators

    Equality(ImageConfiguration, ImageConfiguration)

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

    Inequality(ImageConfiguration, ImageConfiguration)

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