Class PreviewManager | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PreviewManager

    Inheritance
    System.Object
    PreviewManager
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    public class PreviewManager : IDisposable

    Constructors

    PreviewManager(AbstractMaterialGraph)

    Declaration
    public PreviewManager(AbstractMaterialGraph graph)
    Parameters
    Type Name Description
    AbstractMaterialGraph graph

    Properties

    masterRenderData

    Declaration
    public PreviewRenderData masterRenderData { get; }
    Property Value
    Type Description
    PreviewRenderData

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    GetPreview(AbstractMaterialNode)

    Declaration
    public PreviewRenderData GetPreview(AbstractMaterialNode node)
    Parameters
    Type Name Description
    AbstractMaterialNode node
    Returns
    Type Description
    PreviewRenderData

    HandleGraphChanges()

    Declaration
    public void HandleGraphChanges()

    RenderPreviews()

    Declaration
    public void RenderPreviews()

    ResizeMasterPreview(Vector2)

    Declaration
    public void ResizeMasterPreview(Vector2 newSize)
    Parameters
    Type Name Description
    Vector2 newSize
    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