docs.unity3d.com
    Show / Hide Table of Contents

    Enum RefreshMask

    Selectively rebuilds and applies mesh attributes to the UnityEngine.Mesh asset.

    Namespace: UnityEngine.ProBuilder
    Syntax
    [Flags]
    public enum RefreshMask

    Fields

    Name Description Value
    UV

    Rebuild textures channel.


    1
    Colors

    Rebuild colors.


    2
    Normals

    Recalculate and apply normals.


    4
    Tangents

    Recalculate and apply tangents.


    8
    Collisions

    Re-assign the MeshCollider sharedMesh.


    16
    Bounds

    Recalculate bounds.


    22
    All

    Refresh all optional mesh attributes.


    31
    See Also
    Refresh(RefreshMask)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023