Interface IViewDisplayer | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IViewDisplayer

    Interface that must implement the viewer to communicate with the compositor and data management

    Namespace: UnityEditor.Rendering.LookDev
    Syntax
    public interface IViewDisplayer

    Methods

    GetRect(ViewCompositionIndex)

    Declaration
    Rect GetRect(ViewCompositionIndex index)
    Parameters
    Type Name Description
    ViewCompositionIndex index
    Returns
    Type Description
    Rect

    Repaint()

    Declaration
    void Repaint()

    SetTexture(ViewCompositionIndex, Texture)

    Declaration
    void SetTexture(ViewCompositionIndex index, Texture texture)
    Parameters
    Type Name Description
    ViewCompositionIndex index
    Texture texture

    Events

    OnChangingEnvironmentInView

    Declaration
    event Action<Object, ViewCompositionIndex, Vector2> OnChangingEnvironmentInView
    Event Type
    Type Description
    System.Action<UnityEngine.Object, ViewCompositionIndex, Vector2>

    OnChangingObjectInView

    Declaration
    event Action<GameObject, ViewCompositionIndex, Vector2> OnChangingObjectInView
    Event Type
    Type Description
    System.Action<GameObject, ViewCompositionIndex, Vector2>

    OnClosed

    Declaration
    event Action OnClosed
    Event Type
    Type Description
    System.Action

    OnLayoutChanged

    Declaration
    event Action<Layout, SidePanel> OnLayoutChanged
    Event Type
    Type Description
    System.Action<Layout, SidePanel>

    OnMouseEventInView

    Declaration
    event Action<IMouseEvent> OnMouseEventInView
    Event Type
    Type Description
    System.Action<IMouseEvent>

    OnRenderDocAcquisitionTriggered

    Declaration
    event Action OnRenderDocAcquisitionTriggered
    Event Type
    Type Description
    System.Action

    OnUpdateRequested

    Declaration
    event Action OnUpdateRequested
    Event Type
    Type Description
    System.Action
    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