Class CameraPoseRecording
Namespace: Unity.MARS.Data.Recorded
Syntax
public class CameraPoseRecording : DataRecording
Properties
AnimationTrack
Declaration
public AnimationTrack AnimationTrack { set; }
Property Value
Type | Description |
---|---|
AnimationTrack |
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 override 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 |