docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraInput

    Use this class to record from a Scene Camera.

    Inheritance
    object
    RecorderInput
    BaseRenderTextureInput
    CameraInput
    Implements
    IDisposable
    Inherited Members
    BaseRenderTextureInput.OutputRenderTexture
    BaseRenderTextureInput.ReadbackTexture
    BaseRenderTextureInput.OutputWidth
    BaseRenderTextureInput.OutputHeight
    BaseRenderTextureInput.ReleaseBuffer()
    RecorderInput.settings
    RecorderInput.Dispose()
    RecorderInput.SessionCreated(RecordingSession)
    RecorderInput.FrameDone(RecordingSession)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Recorder.Input
    Assembly: Unity.Recorder.Editor.dll
    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(bool)

    Releases all resources allocated by this instance.

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

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

    Overrides
    BaseRenderTextureInput.Dispose(bool)

    EndRecording(RecordingSession)

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

    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)

    Implements

    IDisposable
    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)