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

    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

    Logger

    Declaration
    public static ILogger Logger { get; set; }
    Property Value
    Type Description
    ILogger

    Methods

    ConfigureNativeLogging(Boolean, NativeLoggingSeverity)

    Configure native logging settings for WebRTC.

    Declaration
    public static void ConfigureNativeLogging(bool enableNativeLogging, NativeLoggingSeverity nativeLoggingSeverity)
    Parameters
    Type Name Description
    Boolean enableNativeLogging

    Enables or disable native logging.

    NativeLoggingSeverity nativeLoggingSeverity

    Sets the native logging level.

    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
    トップに戻る
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Wednesday, November 1, 2023