docs.unity.cn
    Show / Hide Table of Contents

    Class TakeRecorder

    A take recorder that manages a set of capture devices.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    TakeRecorder
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Component.rigidbody
    Component.rigidbody2D
    Component.camera
    Component.light
    Component.animation
    Component.constantForce
    Component.renderer
    Component.audio
    Component.networkView
    Component.collider
    Component.collider2D
    Component.hingeJoint
    Component.particleSystem
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.LiveCapture
    Syntax
    [ExecuteAlways]
    [DefaultExecutionOrder(-10)]
    [DisallowMultipleComponent]
    [ExcludeFromPreset]
    [RequireComponent(typeof(PlayableDirector))]
    [AddComponentMenu("Live Capture/Take Recorder")]
    [HelpURL("https://docs.unity.cn/Packages/com.unity.live-capture@1.1/manual/ref-component-take-recorder.html")]
    public class TakeRecorder : MonoBehaviour, ITakeRecorderInternal, ITakeRecorder
    Remarks

    This class provides the devices with the PlayableDirector's playable graph, to allow them to modify the animation stream and make actors in the scene go live.

    Properties

    FrameRate

    The frame rate to use for recording.

    Declaration
    public FrameRate FrameRate { get; set; }
    Property Value
    Type Description
    FrameRate
    Implements
    ITakeRecorder.FrameRate

    Methods

    GetActiveSlate()

    The selected slate to use for recording.

    Declaration
    public ISlate GetActiveSlate()
    Returns
    Type Description
    ISlate

    The selected slate.

    Implements
    ITakeRecorder.GetActiveSlate()

    GetPreviewTime()

    Returns the current playback time of the selected take.

    Declaration
    public double GetPreviewTime()
    Returns
    Type Description
    Double

    The current time in seconds.

    Implements
    ITakeRecorder.GetPreviewTime()

    IsLive()

    Indicates whether the take recorder is ready for recording.

    Declaration
    public bool IsLive()
    Returns
    Type Description
    Boolean

    true if ready for recording; otherwise, false.

    Implements
    ITakeRecorder.IsLive()

    IsPreviewPlaying()

    Checks whether the take recorder is playing the selected take or not.

    Declaration
    public bool IsPreviewPlaying()
    Returns
    Type Description
    Boolean

    true if playing; otherwise, false.

    Implements
    ITakeRecorder.IsPreviewPlaying()

    IsRecording()

    Checks whether the take recorder is recording or not.

    Declaration
    public bool IsRecording()
    Returns
    Type Description
    Boolean

    true if playing; otherwise, false.

    Implements
    ITakeRecorder.IsRecording()

    PausePreview()

    Pauses the playback of the selected take.

    Declaration
    public void PausePreview()
    Implements
    ITakeRecorder.PausePreview()

    PlayPreview()

    Starts playing the selected take.

    Declaration
    public void PlayPreview()
    Implements
    ITakeRecorder.PlayPreview()

    Rebuild()

    Rebuilds the PlayableGraph and prepares the devices.

    Declaration
    public void Rebuild()

    SetLive(Boolean)

    Use this method to set the take recorder ready for recording.

    Declaration
    public void SetLive(bool value)
    Parameters
    Type Name Description
    Boolean value

    true to set ready; otherwise, false.

    Implements
    ITakeRecorder.SetLive(Boolean)

    SetPreviewTime(Double)

    Changes the current playback time of the selected take.

    Declaration
    public void SetPreviewTime(double time)
    Parameters
    Type Name Description
    Double time

    The current time in seconds.

    Implements
    ITakeRecorder.SetPreviewTime(Double)

    StartRecording()

    Starts the recording of a new take for the selected slate.

    Declaration
    public void StartRecording()
    Implements
    ITakeRecorder.StartRecording()

    StopRecording()

    Stops the recording.

    Declaration
    public void StopRecording()
    Implements
    ITakeRecorder.StopRecording()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 26, 2022
    Terms of use