Struct SpriteMesh | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Struct SpriteMesh

    Data structure that represents a Sprite's mesh.

    Namespace: Unity.Tiny
    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>

    -

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020