docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResizeTextures

    ResizeTextures(ResizeTexturesInputMode, ResizeTexturesResizeMode, bool)

    Resizes the textures from a selection of occurrences (resizes all textures used by these occurrences), or from a selection of textures

    Declaration
    public void ResizeTextures(ResizeTexturesInputMode inputMode, ResizeTexturesResizeMode resizeMode, bool replaceTextures)
    Parameters
    Type Name Description
    ResizeTexturesInputMode inputMode

    Defines if the textures to resize are textures used by a selection of Occurrences, or a selection among the textures available in the scene

    ResizeTexturesResizeMode resizeMode

    Defines if the textures are resized following a ratio or following a maximum size/resolution (only textures above the defined maximum are downsized)

    bool replaceTextures

    If True, overwrites textures from the selection

    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)