docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CopyTextureSettings

    CopyTextureSettings(string, Material)

    Create a TextureSettings object from the input material texture settings

    Declaration
    public static SgUsdPreviewSurfaceShaderExporter.TextureSettings CopyTextureSettings(string inputName, Material material)
    Parameters
    Type Name Description
    string inputName

    The prefix name for the input

    Material material

    The input material

    Returns
    Type Description
    SgUsdPreviewSurfaceShaderExporter.TextureSettings

    TextureSettings object with populated settings

    In This Article
    Back to top
    Copyright © 2023 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)