docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VectorUtils.PackRectItem

    Struct to hold a texture atlas location.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    Syntax
    public struct VectorUtils.PackRectItem

    Fields

    Fill

    The fill associated with this entry, may be null.

    Declaration
    public IFill Fill
    Field Value
    Type Description
    IFill

    Position

    The position of the entry inside the atlas.

    Declaration
    public Vector2 Position
    Field Value
    Type Description
    Vector2

    Rotated

    True if the entry is rotated by 90 degrees.

    Declaration
    public bool Rotated
    Field Value
    Type Description
    bool

    Size

    The size of the entry inside the atlas.

    Declaration
    public Vector2 Size
    Field Value
    Type Description
    Vector2
    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)