Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IMediaReader Interface

    Namespace: Stride.Media
    Assembly: Stride.dll

    public interface IMediaReader
    Name Description
    Properties
    IsDisposed

    Specifies if the extractor has been disposed

    SpeedFactor

    Set the play speed of the media

    Methods
    Seek(TimeSpan)

    Seek to provided position in the media source.

    | Improve this Doc View Source

    Properties


    IsDisposed

    Specifies if the extractor has been disposed

    bool IsDisposed { get; }
    Property Value
    Type Description
    System.Boolean

    SpeedFactor

    Set the play speed of the media

    float SpeedFactor { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    Seek(TimeSpan)

    Seek to provided position in the media source.

    void Seek(TimeSpan mediaTime)
    Parameters
    Type Name Description
    System.TimeSpan mediaTime

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation