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

    Class BaseRenderTextureInput

    Base class for all Recorder inputs that capture images.

    Inheritance
    Object
    RecorderInput
    BaseRenderTextureInput
    CameraInput
    Inherited Members
    RecorderInput.settings
    RecorderInput.Dispose()
    RecorderInput.SessionCreated(RecordingSession)
    RecorderInput.BeginRecording(RecordingSession)
    RecorderInput.NewFrameStarting(RecordingSession)
    RecorderInput.NewFrameReady(RecordingSession)
    RecorderInput.FrameDone(RecordingSession)
    RecorderInput.EndRecording(RecordingSession)
    Namespace: UnityEditor.Recorder
    Syntax
    public abstract class BaseRenderTextureInput : RecorderInput

    Properties

    OutputHeight

    Stores the output image height.

    Declaration
    public int OutputHeight { get; protected set; }
    Property Value
    Type Description
    Int32

    OutputRenderTexture

    Enables asynchronous readback of GPU resources if the platform supports it. Set this property to a valid instance and ensure that ReadbackTexture is not set.

    Declaration
    protected RenderTexture OutputRenderTexture { get; set; }
    Property Value
    Type Description
    RenderTexture

    OutputWidth

    Stores the output image width.

    Declaration
    public int OutputWidth { get; protected set; }
    Property Value
    Type Description
    Int32

    ReadbackTexture

    Indicates the synchronous GPU readback destination.

    Declaration
    protected Texture2D ReadbackTexture { get; set; }
    Property Value
    Type Description
    Texture2D

    Methods

    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
    RecorderInput.Dispose(Boolean)

    ReleaseBuffer()

    Releases all resources allocated by this class instance.

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