Class SessionRecordingInfo
Holds metadata about an MR session recording
Inheritance
SessionRecordingInfo
Syntax
public class SessionRecordingInfo : ScriptableObject
Properties
CloudResourceId
Declaration
public string CloudResourceId { get; set; }
Property Value
ControlsMarsLifecycle
Whether the time in recording playback maps 1:1 with MARS Time in Simulation
Declaration
public bool ControlsMarsLifecycle { get; }
Property Value
The wrap mode that the Playable Director will be set to use when the recording is set up in simulation
Declaration
public DirectorWrapMode DefaultExtrapolationMode { get; set; }
Property Value
Type |
Description |
DirectorWrapMode |
|
DisplayName
Declaration
public string DisplayName { get; }
Property Value
HasVideo
Whether this recording has a MarsVideoPlayableTrack
Declaration
public bool HasVideo { get; }
Property Value
Timeline
Declaration
public TimelineAsset Timeline { get; }
Property Value
Methods
AddDataRecording(DataRecording)
Declaration
public void AddDataRecording(DataRecording recording)
Parameters
AddSyntheticEnvironment(GameObject)
Declaration
public void AddSyntheticEnvironment(GameObject environmentPrefab)
Parameters
Type |
Name |
Description |
GameObject |
environmentPrefab |
|
Create(TimelineAsset)
Declaration
public static SessionRecordingInfo Create(TimelineAsset timeline)
Parameters
Returns
GetDataRecordings(List<DataRecording>)
Declaration
public void GetDataRecordings(List<DataRecording> dataRecordings)
Parameters
GetSyntheticEnvironments(List<GameObject>)
Declaration
public void GetSyntheticEnvironments(List<GameObject> environments)
Parameters
Type |
Name |
Description |
List<GameObject> |
environments |
|