docs.unity.cn
    Show / Hide Table of Contents

    Enum RefreshMask

    Selectively rebuild and apply mesh attributes to the UnityEngine.Mesh asset.

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

    Fields

    Name Description Value
    UV

    Textures channel will be rebuilt.

    1
    Colors

    Colors will be rebuilt.

    2
    Normals

    Normals will be recalculated and applied.

    4
    Tangents

    Tangents will be recalculated and applied.

    8
    Collisions

    Re-assign the MeshCollider sharedMesh.

    16
    All

    Refresh all optional mesh attributes.

    31
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 09 July 2021