Google.XR.ARCoreExtensions.ARCoreRecordingConfig

Configuration to record camera and sensor data from an ARCore session.

Summary

Inheritance

Inherits from: UnityEngine::ScriptableObject

Public attributes

AutoStopOnPause = true
bool
Set to true to cause the recording to stop automatically when the session is paused, or set to false to allow the recording to continue until the session is destroyed or the recording is stopped manually.
Mp4DatasetUri
Uri
A URI where the MP4 recording (including video data from the camera and other device sensors) will be saved.
Tracks = new List()
List< Track >
The list of Track to add the recording config.

Properties

Mp4DatasetFilepath
string
Deprecated. Please use Mp4DatasetUri instead.
Gets or sets the URI on the device where the MP4 recording will be saved as a file path.

Public attributes

AutoStopOnPause

bool AutoStopOnPause = true

Set to true to cause the recording to stop automatically when the session is paused, or set to false to allow the recording to continue until the session is destroyed or the recording is stopped manually.

When set to false and the session is paused, recording of sensor data continues, but the camera feed will be recorded as a black screen until the session is resumed.

Mp4DatasetUri

Uri Mp4DatasetUri

A URI where the MP4 recording (including video data from the camera and other device sensors) will be saved.

If the resource already exists it will be overwritten. The AbsoluteUri property of the Uri will be passed to ARCore to create an android.net.Uri. The URI must point to a seekable resource.

Tracks

List< Track > Tracks = new List()

The list of Track to add the recording config.

This field is not available in the editor and should be set at runtime.

Properties

Mp4DatasetFilepath

string Mp4DatasetFilepath

Gets or sets the URI on the device where the MP4 recording will be saved as a file path.

The recording consists of video data from the camera along with data from the device sensors. If the file already exists it will be overwritten.

Deprecated. Please use Mp4DatasetUri instead.