Struct SpriteMesh | 2D Entities | 0.29.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SpriteMesh

    Data structure that represents a Sprite's mesh.

    Namespace: Unity.U2D.Entities
    Syntax
    public struct SpriteMesh

    Fields

    Bounds

    Mesh bounds.

    Declaration
    public AABB Bounds
    Field Value
    Type Description
    AABB

    -

    Indices

    Array holding all index data of the mesh.

    Declaration
    public BlobArray<ushort> Indices
    Field Value
    Type Description
    BlobArray<UInt16>

    -

    Vertices

    Array holding all vertex data of the mesh.

    Declaration
    public BlobArray<SpriteVertex> Vertices
    Field Value
    Type Description
    BlobArray<SpriteVertex>

    -

    In This Article
    • Fields
      • Bounds
      • Indices
      • Vertices
    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