docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetTexture

    SetTexture<T>(T, TextureHandle)

    Add or replace the TextureHandle for a specific identifier.

    Declaration
    public void SetTexture<T>(T id, TextureHandle handle) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T id
    TextureHandle handle
    Type Parameters
    Name Description
    T
    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)