docs.unity3d.com
    目次を表示する/隠す

    Class CameraExtension

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

    Methods

    CaptureStream(Camera, Int32, Int32, Int32, RenderTextureDepth)

    Declaration
    public static MediaStream CaptureStream(this Camera cam, int width, int height, int bitrate, RenderTextureDepth depth = RenderTextureDepth.DEPTH_24)
    Parameters
    Type Name Description
    Camera cam
    Int32 width
    Int32 height
    Int32 bitrate
    RenderTextureDepth depth
    Returns
    Type Description
    MediaStream

    CaptureStreamTrack(Camera, Int32, Int32, Int32, RenderTextureDepth, Boolean)

    Declaration
    public static VideoStreamTrack CaptureStreamTrack(this Camera cam, int width, int height, int bitrate, RenderTextureDepth depth = RenderTextureDepth.DEPTH_24, bool needFlip = true)
    Parameters
    Type Name Description
    Camera cam
    Int32 width
    Int32 height
    Int32 bitrate
    RenderTextureDepth depth
    Boolean needFlip
    Returns
    Type Description
    VideoStreamTrack
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)