docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RecordingContext

    A structure that defines information that is passed to the encoder about the recording's inputs and requirements.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Recorder.Encoder
    Assembly: Unity.Recorder.Editor.dll
    Syntax
    public struct RecordingContext

    Fields

    doCaptureAlpha

    Whether or not the encoder should capture the alpha channel.

    Declaration
    public bool doCaptureAlpha
    Field Value
    Type Description
    bool

    doCaptureAudio

    Whether or not the encoder should capture audio.

    Declaration
    public bool doCaptureAudio
    Field Value
    Type Description
    bool

    fps

    The frame rate of the recording.

    Declaration
    public MediaRational fps
    Field Value
    Type Description
    MediaRational

    frameRateMode

    The type of frame rate configuration of the recording.

    Declaration
    public FrameRatePlayback frameRateMode
    Field Value
    Type Description
    FrameRatePlayback

    height

    The height of the recorder image.

    Declaration
    public int height
    Field Value
    Type Description
    int

    path

    The path of the output file.

    Declaration
    public string path
    Field Value
    Type Description
    string

    width

    The width of the recorded image.

    Declaration
    public int width
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 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)