FramePlayer Class¶
Description¶
MonoBehaviour which controls InputFramePlayer in the scene, providing a few extensions in the Unity environment. There is no need to use InputFramePlayer directly.
MonoBehaviour Messages¶
protected virtual void Awake() |
protected override void OnEnable() |
protected virtual void Start() |
protected override void OnDisable() |
protected virtual void OnDestroy() |
Fields¶
FilePathType¶
- C#
public WritablePathType FilePathType
File path type. Set before OnEnable or Start.
FilePath¶
- C#
public string FilePath
File path. Set before OnEnable or Start.
Properties¶
IsCompleted¶
- C#
public bool IsCompleted { get; }
Whether the playback is completed.
Length¶
- C#
public float Length { get; }
Total expected playback time. The unit is second.
Time¶
- C#
public float Time { get; }
Current time played.