docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRHandRecordingMetadata

    Metadata for a XR Hand recording session.

    Inheritance
    object
    XRHandRecordingBase
    XRHandRecordingMetadata
    Inherited Members
    XRHandRecordingBase.assetName
    XRHandRecordingBase.durationInSeconds
    XRHandRecordingBase.m_AssetName
    XRHandRecordingBase.m_DurationInSeconds
    XRHandRecordingBase.m_UniqueID
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Hands.Capture.Recording
    Assembly: Unity.XR.Hands.dll
    Syntax
    public class XRHandRecordingMetadata : XRHandRecordingBase
    Remarks

    This class provides a lightweight way to access recording session metadata, such as name and duration, without loading all captured frames into memory. Use this method to get information for such tasks as listing existing recordings or displaying recording summaries. To load the complete recording data including all frames, use the XRHandRecordingBlob class.

    Methods

    Delete()

    Deletes the recording from device storage.

    Declaration
    public override void Delete()
    Overrides
    XRHandRecordingBase.Delete()
    Remarks

    This method removes the entire recording file, including both metadata and frame data. Once deleted, the recording cannot be recovered.

    GetSavedRecordingMetadata(List<XRHandRecordingMetadata>)

    Scans the device's persistent storage path for saved recording files and populates a list with XRHandRecordingMetadata instances representing their metadata (name, duration).

    Declaration
    [BurstDiscard]
    public static void GetSavedRecordingMetadata(List<XRHandRecordingMetadata> existingRecordings)
    Parameters
    Type Name Description
    List<XRHandRecordingMetadata> existingRecordings

    The list to fill with the metadata of any recordings found.

    Remarks

    This method loads only essential metadata without loading the entire frame data, making it efficient for listing recordings or displaying recording summaries.

    In This Article
    Back to top
    Copyright © 2026 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)