docs.unity3d.com
    Show / Hide Table of Contents

    Class MaskingManager

    Inheritance
    Object
    MaskingManager
    Namespace: Unity.InteractiveTutorials
    Syntax
    public static class MaskingManager

    Fields

    MaskingEnabled

    Master control for masking and highlighting.

    Declaration
    public static UserSetting<bool> MaskingEnabled
    Field Value
    Type Description
    UserSetting<Boolean>

    Properties

    highlightAnimationDelay

    Declaration
    public static float highlightAnimationDelay { get; set; }
    Property Value
    Type Description
    Single

    highlightAnimationSpeed

    Declaration
    public static float highlightAnimationSpeed { get; set; }
    Property Value
    Type Description
    Single

    Methods

    AddMaskToView(GUIViewProxy, VisualElement)

    Declaration
    public static void AddMaskToView(GUIViewProxy view, VisualElement child)
    Parameters
    Type Name Description
    GUIViewProxy view
    VisualElement child

    Mask(UnmaskedView.MaskData, Color, UnmaskedView.MaskData, Color, Color, Single)

    Declaration
    public static void Mask(UnmaskedView.MaskData unmaskedViewsAndRegionsMaskData, Color maskColor, UnmaskedView.MaskData highlightedRegionsMaskData, Color highlightColor, Color blockedInteractionsColor, float highlightThickness)
    Parameters
    Type Name Description
    UnmaskedView.MaskData unmaskedViewsAndRegionsMaskData
    Color maskColor
    UnmaskedView.MaskData highlightedRegionsMaskData
    Color highlightColor
    Color blockedInteractionsColor
    Single highlightThickness

    Unmask()

    Declaration
    public static void Unmask()
    Back to top
    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