Struct Shape2DVertex | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Shape2DVertex

    A component describing a 2d closed polygon shape.

    Namespace: Unity.Tiny.Core2D
    Syntax
    public struct Shape2DVertex : IBufferElementData
    Remarks

    If there are no indices, vertices are rendered as a triangle fan. Indices can be provided with Shape2DIndex Shapes are limited to 64k vertices.

    Fields

    position

    Declaration
    public float2 position
    Field Value
    Type Description
    float2
    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