docs.unity.cn
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 13, 2023