docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ProxyMesh

    ProxyMesh(OccurrenceList, double, ElementFilter, int, bool)

    Replace the tessellations of the selected parts by a proxy mesh based on a voxelization

    Declaration
    public uint ProxyMesh(OccurrenceList occurrences, double voxelSize, ElementFilter elements = ElementFilter.Polygons, int dilation = 0, bool surfacic = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    double voxelSize

    Size of voxels

    ElementFilter elements

    Type of elements used to detect the voxels, polygons or points or hybrid

    int dilation

    Dilation iterations on the voxel grid (only if surfacic=false)

    bool surfacic

    Prefer this mode if the source is surfacic, the result is not guaranteed to be watertight

    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)