docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOptimalTextureResolution

    GetOptimalTextureResolution(OccurrenceList, double)

    Returns the optimal resolution based on a number of texels per 3D space units (e.g : mm)

    Declaration
    public int GetOptimalTextureResolution(OccurrenceList occurrences, double texelPerMm)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences on which to compute optimal texture resolution

    double texelPerMm

    Number of texel per millimeter in a 3D space

    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)