docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate CopyTexture

    Delegate to be called to copy texture.

    Namespace: Unity.WebRTC
    Assembly: Unity.WebRTC.dll
    Syntax
    public delegate void CopyTexture(Texture source, RenderTexture dest)
    Parameters
    Type Name Description
    Texture source

    Source Texture object.

    RenderTexture dest

    Destination Texture object.

    Remarks

    CopyTexture delegate is called to copy texture when the texture is updated.

    Examples
    VideoStreamTrack videoStreamTrack = new VideoStreamTrack(texture, CopyTextureHelper.VerticalFlipCopy);

    See Also

    VideoStreamTrack(Texture, CopyTexture)
    In This Article
    Back to top
    Copyright © 2025 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)