Returns | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    protected abstract MethodInfo GetFunctionToConvert()

    Returns

    A MethodInfo of a class to convert to a shader function.

    Description

    Defines which method within the class should be converted to a shader function. Use Type.GetMethodInfo to convert a method of return type string to a MethodInfo to return. The referenced class should define Ports via SlotAttribute.

    For more information on how to create Nodes using CodeFunctionNode see Custom Nodes with CodeFunctionNode.

    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX