Vixen
02b45cc4
csharp
public struct VideoPlaybackInfo

What the player did this frame.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Written by VideoSystem and never read by it, which is the same shape NavigationState has: it exists so that game code, a UI binding and an upload pass can ask what is on screen without touching the player — and, more to the point, without needing a reference to a managed component to find out whether a cutscene has finished.

Fields and properties (5)

  • public VideoPlaybackState State

    What the player is doing.

  • public TimeSpan Position

    Where playback has got to.

  • public uint FrameVersion

    Bumped whenever the picture changed. What an upload pass compares against.

  • public long FramesDropped

    How many frames have been skipped for being late, since the video started.

  • public long DecodeStalls

    How many updates found nothing decoded, since the video started.

Used by (2)

  • VideoSystemVixen.Video
  • VideoSystemTestsVixen.Video.Tests