docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Voxelize

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

    Replace the tessellations of the selected parts by a voxelization of the external skin

    Declaration
    public uint Voxelize(OccurrenceList occurrences, double voxelSize, ElementFilter elements = ElementFilter.Polygons, int dilation = 0, bool useCurrentAnimationPosition = 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

    bool useCurrentAnimationPosition

    Use the current animation position instead of the t-pose

    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)