Interface IMixedRealityInputPlaybackService
Plays back input animation via the input simulation system.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityInputPlaybackService : IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Properties
Animation
The animation currently being played.
Declaration
InputAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
InputAnimation |
Animation
The animation currently being played.
Declaration
InputAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
InputAnimation |
IsPlaying
True if the animation is currently playing.
Declaration
bool IsPlaying { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsPlaying
True if the animation is currently playing.
Declaration
bool IsPlaying { get; }
Property Value
Type | Description |
---|---|
Boolean |
LocalTime
The local time in seconds relative to the start of the animation.
Declaration
float LocalTime { get; set; }
Property Value
Type | Description |
---|---|
Single |
LocalTime
The local time in seconds relative to the start of the animation.
Declaration
float LocalTime { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
LoadInputAnimation(String)
Try to load input animation data from the given file.
Declaration
bool LoadInputAnimation(string filepath)
Parameters
Type | Name | Description |
---|---|---|
String | filepath |
Returns
Type | Description |
---|---|
Boolean | True if loading input animation from the file succeeded. |
LoadInputAnimation(String)
Try to load input animation data from the given file.
Declaration
bool LoadInputAnimation(string filepath)
Parameters
Type | Name | Description |
---|---|---|
String | filepath |
Returns
Type | Description |
---|---|
Boolean | True if loading input animation from the file succeeded. |
Pause()
Pause playback and keep the current local time.
Declaration
void Pause()
Pause()
Pause playback and keep the current local time.
Declaration
void Pause()
Play()
Start playing the animation.
Declaration
void Play()
Play()
Start playing the animation.
Declaration
void Play()
Stop()
Stop playing the animation and jump to the start.
Declaration
void Stop()
Stop()
Stop playing the animation and jump to the start.
Declaration
void Stop()