docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResizeUVsToTextureSize

    ResizeUVsToTextureSize(OccurrenceList, double, int)

    Rescale the UV coordinates to fit the input texture size

    Declaration
    public void ResizeUVsToTextureSize(OccurrenceList occurrences, double TextureSize, int channel = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences to use for the rescaling

    double TextureSize

    Texture size to use for the UV coordinates (in millimeters)

    int channel

    UV channel to use

    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)