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

    Class TextureDataProvider

    Inheritance
    System.Object
    PSDDataProvider
    TextureDataProvider
    Inherited Members
    PSDDataProvider.dataProvider
    Namespace: UnityEditor.Experimental.U2D.PSD
    Syntax
    public class TextureDataProvider : PSDDataProvider, ITextureDataProvider

    Properties

    previewTexture

    Declaration
    public Texture2D previewTexture { get; }
    Property Value
    Type Description
    Texture2D

    texture

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

    Methods

    GetReadableTexture2D()

    Declaration
    public Texture2D GetReadableTexture2D()
    Returns
    Type Description
    Texture2D

    GetTextureActualWidthAndHeight(out Int32, out Int32)

    Declaration
    public void GetTextureActualWidthAndHeight(out int width, out int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    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