Class CameraExtension | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class CameraExtension

    Inheritance
    System.Object
    CameraExtension
    Namespace: Unity.WebRTC
    Syntax
    public static class CameraExtension

    Methods

    CaptureStream(Camera, Int32, Int32)

    Declaration
    public static MediaStream CaptureStream(this Camera cam, int width, int height)
    Parameters
    Type Name Description
    Camera cam
    System.Int32 width
    System.Int32 height
    Returns
    Type Description
    MediaStream

    RemoveRt(RenderTexture[])

    Declaration
    public static void RemoveRt(RenderTexture[] rts)
    Parameters
    Type Name Description
    RenderTexture[] rts
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX