docs.unity3d.com

Recorder 5.1.0

Search Results for

    Show / Hide Table of Contents

    Class BaseRenderTextureInput

    Base class for all Recorder inputs that capture images.

    Inheritance
    object
    RecorderInput
    BaseRenderTextureInput
    CameraInput
    Implements
    IDisposable
    Inherited Members
    RecorderInput.settings
    RecorderInput.Dispose()
    RecorderInput.SessionCreated(RecordingSession)
    RecorderInput.BeginRecording(RecordingSession)
    RecorderInput.NewFrameStarting(RecordingSession)
    RecorderInput.NewFrameReady(RecordingSession)
    RecorderInput.FrameDone(RecordingSession)
    RecorderInput.EndRecording(RecordingSession)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Recorder
    Assembly: Unity.Recorder.Editor.dll
    Syntax
    public abstract class BaseRenderTextureInput : RecorderInput, IDisposable

    Properties

    OutputHeight

    Stores the output image height.

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

    OutputRenderTexture

    Enables asynchronous readback of GPU resources if the platform supports it. Set this property to a valid instance.

    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
    int

    ReadbackTexture

    Indicates the synchronous GPU readback destination.

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

    Methods

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

    ReleaseBuffer()

    Releases all resources allocated by this class instance.

    Declaration
    protected void ReleaseBuffer()

    Implements

    IDisposable
    In This Article
    • Properties
      • OutputHeight
      • OutputRenderTexture
      • OutputWidth
      • ReadbackTexture
    • Methods
      • Dispose(bool)
      • ReleaseBuffer()
    • Implements
    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)