docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreatePointCloudKDTree

    CreatePointCloudKDTree(OccurrenceList, int, bool)

    Create a KD-Tree from some point clouds occurrence, the given occurrences are deleted (even if they contains triangles) and the KD-Tree is represented in a new occurrence sub tree

    Declaration
    public uint CreatePointCloudKDTree(OccurrenceList occurrences, int depth, bool addToScene = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences to process

    int depth

    Kd tree depth

    bool addToScene

    Add the KD-Tree to the current scene

    Returns
    Type Description
    uint
    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)