docs.unity.cn
    Show / Hide Table of Contents

    Class WebRTC

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

    Properties

    enableLimitTextureSize

    Declaration
    public static bool enableLimitTextureSize { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    ExecutePendingTasks(Int32)

    Executes any pending tasks generated asynchronously during the WebRTC runtime.

    Declaration
    public static bool ExecutePendingTasks(int millisecondTimeout)
    Parameters
    Type Name Description
    Int32 millisecondTimeout

    The amount of time in milliseconds that the task queue can take before task execution will cease.

    Returns
    Type Description
    Boolean

    true if all pending tasks were completed within milliseconds and false otherwise.

    GetSupportedGraphicsFormat(GraphicsDeviceType)

    Declaration
    public static GraphicsFormat GetSupportedGraphicsFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    GraphicsFormat

    GetSupportedRenderTextureFormat(GraphicsDeviceType)

    Declaration
    public static RenderTextureFormat GetSupportedRenderTextureFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    RenderTextureFormat

    GetSupportedTextureFormat(GraphicsDeviceType)

    Declaration
    public static TextureFormat GetSupportedTextureFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    TextureFormat

    Update()

    Declaration
    public static IEnumerator Update()
    Returns
    Type Description
    IEnumerator

    ValidateGraphicsFormat(GraphicsFormat)

    Declaration
    public static void ValidateGraphicsFormat(GraphicsFormat format)
    Parameters
    Type Name Description
    GraphicsFormat format
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 12, 2023