docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteImporterData

    The importer data about a sprite asset.

    Inheritance
    object
    SpriteImporterData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Build.Pipeline.Interfaces
    Assembly: Unity.ScriptableBuildPipeline.Editor.dll
    Syntax
    [Serializable]
    public class SpriteImporterData

    Properties

    PackedSprite

    Property if this sprite asset is packed by the sprite packer.

    Declaration
    public bool PackedSprite { get; set; }
    Property Value
    Type Description
    bool

    SourceTexture

    Object identifier of the source texture for the sprite.

    Declaration
    public ObjectIdentifier SourceTexture { get; set; }
    Property Value
    Type Description
    ObjectIdentifier
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)