docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ImportPicture

    ImportPicture(string, uint)

    Imports a picture and applies is at as a texture on a 3D plane created in the scene.

    Declaration
    public uint ImportPicture(string filename, uint root = 0)
    Parameters
    Type Name Description
    string filename

    Path of the file to import

    uint root

    Identifier of the destination occurrence

    Returns
    Type Description
    uint
    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)