docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ITakeRecorder

    Represents a take recorder.

    Namespace: Unity.LiveCapture
    Assembly: Unity.LiveCapture.dll
    Syntax
    public interface ITakeRecorder

    Properties

    FrameRate

    The frame rate to use for recording.

    Declaration
    FrameRate FrameRate { get; set; }
    Property Value
    Type Description
    FrameRate

    Methods

    GetActiveSlate()

    The selected slate to use for recording.

    Declaration
    ISlate GetActiveSlate()
    Returns
    Type Description
    ISlate

    The selected slate.

    GetPreviewTime()

    Returns the current playback time of the selected take.

    Declaration
    double GetPreviewTime()
    Returns
    Type Description
    double

    The current time in seconds.

    IsLive()

    Indicates whether the take recorder is ready for recording.

    Declaration
    bool IsLive()
    Returns
    Type Description
    bool

    true if ready for recording; otherwise, false.

    IsPreviewPlaying()

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

    Declaration
    bool IsPreviewPlaying()
    Returns
    Type Description
    bool

    true if playing; otherwise, false.

    IsRecording()

    Checks whether the take recorder is recording or not.

    Declaration
    bool IsRecording()
    Returns
    Type Description
    bool

    true if playing; otherwise, false.

    PausePreview()

    Pauses the playback of the selected take.

    Declaration
    void PausePreview()

    PlayPreview()

    Starts playing the selected take.

    Declaration
    void PlayPreview()

    SetLive(bool)

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

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

    true to set ready; otherwise, false.

    SetPreviewTime(double)

    Changes the current playback time of the selected take.

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

    The current time in seconds.

    StartRecording()

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

    Declaration
    void StartRecording()

    StopRecording()

    Stops the recording.

    Declaration
    void StopRecording()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)