docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaseTextureRecorder<T>

    Abstract base class for all Recorders that output images.

    Inheritance
    object
    Object
    ScriptableObject
    Recorder
    GenericRecorder<T>
    BaseTextureRecorder<T>
    Inherited Members
    GenericRecorder<T>.Settings
    Recorder.RecordedFramesCount
    Recorder.m_Inputs
    Recorder.Reset()
    Recorder.ConsoleLogMessage(string, LogType)
    Recorder.SessionCreated(RecordingSession)
    Recorder.SkipFrame(RecordingSession)
    Recorder.SkipSubFrame(RecordingSession)
    Recorder.Recording
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Recorder
    Assembly: solution.dll
    Syntax
    public abstract class BaseTextureRecorder<T> : GenericRecorder<T> where T : RecorderSettings
    Type Parameters
    Name Description
    T

    The class implementing the Recorder Settings.

    Fields

    Name Description
    UseAsyncGPUReadback

    Whether or not to use asynchronous GPU commands in order to get the texture for the recorder.

    Properties

    Name Description
    ReadbackTextureFormat

    Stores the format of the texture used for the readback.

    Methods

    Name Description
    BeginRecording(RecordingSession)

    Starts a new recording session. Callback is invoked once when the recording session starts.

    DisposeEncoder()

    Releases the encoder resources.

    EndRecording(RecordingSession)

    Ends the current recording session. Callback is invoked when the recording session ends.

    PrepareNewFrame(RecordingSession)

    Prepares a frame before recording it. Callback is invoked for every frame during the recording session, before RecordFrame.

    RecordFrame(RecordingSession)

    Records a single frame. Callback is invoked for every frame during the recording session.

    WriteFrame(AsyncGPUReadbackRequest)

    Writes the frame from an asynchronous GPU read request.

    WriteFrame(Texture2D)

    Writes the frame from a Texture2D.

    In This Article
    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