InputFramePlayer Class¶
This type is an EasyAR Sense API in C#: InputFramePlayer . Some descriptions may not apply to Unity environment on this page.
This type is fully wrapped into Unity components: FramePlayer . There is no need to use this type directly.
Description¶
Input frame player.
There is an input frame output port. It can be used to get input frame from an EIF file. Refer to Overview .
All members of this class is thread-safe.
Methods¶
output¶
- C#
public virtual InputFrameSource output()
Output port.
create¶
- C#
public static InputFramePlayer create()
Creates an instance.
start¶
- C#
public virtual bool start(string filePath)
Starts frame play.
stop¶
- C#
public virtual void stop()
Stops frame play.
pause¶
- C#
public virtual void pause()
Pauses frame play.
resume¶
- C#
public virtual bool resume()
Resumes frame play.
totalTime¶
- C#
public virtual double totalTime()
Total expected playback time span. The unit is second.
currentTime¶
- C#
public virtual double currentTime()
Current playback time point. The unit is second. The initial value is 0.
initalScreenRotation¶
- C#
public virtual int initalScreenRotation()
The initial screen rotation when recording data.
isCompleted¶
- C#
public virtual bool isCompleted()
Whether the playback is completed.