MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Class CaptureCameraDrawer

    Property drawer for CaptureCameraAttribute, to report an error to the user if the associated property instance cannot be used for framebuffer capture by SceneVideoSource.

    Inheritance
    Object
    CaptureCameraDrawer
    Namespace: Microsoft.MixedReality.WebRTC.Unity.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class CaptureCameraDrawer : PropertyDrawer

    Methods

    GetPropertyHeight(SerializedProperty, GUIContent)

    Declaration
    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    SerializedProperty property
    GUIContent label
    Returns
    Type Description
    Single

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label

    Validate(Camera)

    Validate that a given instance can be used for framebuffer capture by SceneVideoSource based on the current settings of the Unity Player for the current build platform.

    Declaration
    public static void Validate(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The camera instance to test the settings of.

    See Also
    Validate(Camera)
    In This Article
    Back to top Generated by DocFX