docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetParameterValue

    SetParameterValue<T>(GraphDescriptor, ParameterDescriptor, T)

    Set the default value of a parameter in the graph

    Declaration
    public static bool SetParameterValue<T>(GraphDescriptor desc, ParameterDescriptor paramDesc, T value)
    Parameters
    Type Name Description
    GraphDescriptor desc

    The GraphDescriptor instance

    ParameterDescriptor paramDesc

    The parameter desc.

    T value

    The value to set

    Returns
    Type Description
    bool

    Returns true if successful

    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)