docs.unity3d.com
    目次を表示する/隠す

    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

    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)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)