Class XRHandRecordingBase
Provides a base class for XR Hand recording session implementations.
Inherited Members
Namespace: UnityEngine.XR.Hands.Capture.Recording
Assembly: Unity.XR.Hands.dll
Syntax
public abstract class XRHandRecordingBase
Fields
m_AssetName
The name of the recording. Used as the recording asset name when imported into Unity Editor.
Declaration
protected string m_AssetName
Field Value
| Type | Description |
|---|---|
| string |
m_DurationInSeconds
The duration of the recording in seconds.
Declaration
protected float m_DurationInSeconds
Field Value
| Type | Description |
|---|---|
| float |
m_UniqueID
The unique identifier for the recording session. Generated by GenerateUniqueID(). This unique ID serves as the base filename for the binary recording file saved on device.
Declaration
protected string m_UniqueID
Field Value
| Type | Description |
|---|---|
| string |
Properties
assetName
The name of the recording. Used as the recording asset name when imported into Unity Editor.
Declaration
public string assetName { get; }
Property Value
| Type | Description |
|---|---|
| string |
durationInSeconds
The duration of the recording in seconds.
Declaration
public float durationInSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
Delete()
Deletes the persisted file of this recording from device.
Declaration
public abstract void Delete()
Remarks
This method permanently deletes the recording file from player device to free up space, only call this method when you are sure you no longer need the recording.