docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDiffusionProfileShaderGraph

    GetDiffusionProfileShaderGraph(Material, string)

    Get the Diffusion profile on a Shader Graph material.

    Declaration
    public static DiffusionProfileSettings GetDiffusionProfileShaderGraph(Material material, string referenceName)
    Parameters
    Type Name Description
    Material material

    The material to access.

    string referenceName

    The reference name of the Diffusion Profile property in the Shader Graph.

    Returns
    Type Description
    DiffusionProfileSettings

    The Diffusion Profile Asset.

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