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

    Class ImageUtils

    Inheritance
    Object
    ImageUtils
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class ImageUtils

    Methods

    createLocalImageConfiguration(BuildContext, Size)

    Declaration
    public static ImageConfiguration createLocalImageConfiguration(BuildContext context, Size size = null)
    Parameters
    Type Name Description
    BuildContext context
    Size size
    Returns
    Type Description
    ImageConfiguration

    precacheImage(ImageProvider, BuildContext, Size, ImageErrorListener)

    Declaration
    public IPromise precacheImage(ImageProvider provider, BuildContext context, Size size = null, ImageErrorListener onError = null)
    Parameters
    Type Name Description
    ImageProvider provider
    BuildContext context
    Size size
    ImageErrorListener onError
    Returns
    Type Description
    IPromise
    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