docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetVertexCount

    GetVertexCount(OccurrenceList, bool, bool, bool, bool)

    Returns the number of vertices in the parts meshes

    Declaration
    public int GetVertexCount(OccurrenceList occurrences, bool countOnceEachInstance = false, bool countHidden = false, bool countPoints = false, bool countMergedVertices = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    The part occurrences

    bool countOnceEachInstance

    If true ignore multiple instance of each tessellation

    bool countHidden

    If true, also count hidden components

    bool countPoints

    If true, also count points (for points cloud)

    bool countMergedVertices

    If true count all merged vertices in each tessellation

    Returns
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)