Class CameraInput | Unity Recorder | 2.1.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class CameraInput

    Use this class to record from a Scene Camera.

    Inheritance
    Object
    RecorderInput
    BaseRenderTextureInput
    CameraInput
    Inherited Members
    BaseRenderTextureInput.OutputRenderTexture
    BaseRenderTextureInput.ReadbackTexture
    BaseRenderTextureInput.OutputWidth
    BaseRenderTextureInput.OutputHeight
    BaseRenderTextureInput.ReleaseBuffer()
    RecorderInput.settings
    RecorderInput.Dispose()
    RecorderInput.SessionCreated(RecordingSession)
    RecorderInput.FrameDone(RecordingSession)
    RecorderInput.EndRecording(RecordingSession)
    Namespace: UnityEditor.Recorder.Input
    Syntax
    public class CameraInput : BaseRenderTextureInput, IDisposable

    Properties

    TargetCamera

    Indicates the Camera to use to record the Scene.

    Declaration
    protected Camera TargetCamera { get; set; }
    Property Value
    Type Description
    Camera

    Methods

    BeginRecording(RecordingSession)

    Declaration
    protected override void BeginRecording(RecordingSession session)
    Parameters
    Type Name Description
    RecordingSession session
    Overrides
    RecorderInput.BeginRecording(RecordingSession)

    Dispose(Boolean)

    Releases all resources allocated by this instance.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    If true, releases buffers allocated by this class as well.

    Overrides
    BaseRenderTextureInput.Dispose(Boolean)

    NewFrameReady(RecordingSession)

    Declaration
    protected override void NewFrameReady(RecordingSession session)
    Parameters
    Type Name Description
    RecordingSession session
    Overrides
    RecorderInput.NewFrameReady(RecordingSession)

    NewFrameStarting(RecordingSession)

    Declaration
    protected override void NewFrameStarting(RecordingSession session)
    Parameters
    Type Name Description
    RecordingSession session
    Overrides
    RecorderInput.NewFrameStarting(RecordingSession)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023