docs.unity.cn
    Show / Hide Table of Contents

    Struct VectorUtils.PackRectItem

    Struct to hold a texture atlas location.

    Namespace: Unity.VectorGraphics
    Syntax
    public struct 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
    Boolean

    Size

    The size of the entry inside the atlas.

    Declaration
    public Vector2 Size
    Field Value
    Type Description
    Vector2
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 19, 2023
    Terms of use