Class DataRecording
Holds information about MR data recorded to a Timeline
Namespace: Unity.MARS
Syntax
public abstract class DataRecording : ScriptableObject
Methods
SetupDataProviders(PlayableDirector, List<IFunctionalityProvider>)
Creates recorded data providers and hooks them up to the Timeline. Provider game objects should be created using GameObjectUtils.Create for compatibility with simulation.
Declaration
public abstract void SetupDataProviders(PlayableDirector director, List<IFunctionalityProvider> providers)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | Playable Director that should be used to hook up providers to the Timeline |
List<IFunctionalityProvider> | providers | List to be filled out with newly created providers |