Preview Node | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Preview Node

    Description

    Provides a preview window and passes the input value through without modification. This Node is useful for providing a preview at a specific point in a Shader Graph if the user prefers to generally collapse Node previews.

    Ports

    Name Direction Type Binding Description
    In Input Dynamic Vector None Input value
    Out Output Dynamic Vector None Output value

    Generated Code Example

    The following example code represents one possible outcome of this node.

    void Unity_Preview_float4(float4 In, out float4 Out)
    {
        Out = In;
    }
    
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX