docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateOccurrenceFromAnnotation

    CreateOccurrenceFromAnnotation(uint, bool)

    Convert a single annotation on an occurrence into an occurrence with mesh geometry

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public uint CreateOccurrenceFromAnnotation(uint annotation, bool convertVisibility = false)
    Parameters
    Type Name Description
    uint annotation

    Annotation that shall be converted to an occurrence with mesh geometry

    bool convertVisibility

    If True, the visibility will be converted (useful to select a specific view/variant), else all occurrences will be visible

    Returns
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2025 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)