Struct VectorUtils.PackRectItem | Vector Graphics | 1.0.0-preview.34
docs.unity3d.com
    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 — 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