VideoContent Class (Microsoft.Xna.Framework.Content.Pipeline)

Provides a base class for all video objects.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentItem
      Microsoft.Xna.Framework.Content.Pipeline.VideoContent

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class VideoContent : ContentItem, IDisposable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VideoContent type exposes the following members.

  Platforms Name Description
VideoContent Initializes a new copy of the VideoContent class for the specified video file. 
Top
  Platforms Name Description
BitsPerSecond Gets the bit rate for this video. 
Duration Gets the duration of this video. 
Filename Gets or sets the file name for this video. 
FramesPerSecond Gets the frame rate for this video. 
Height Gets the height of this video. 
Identity Gets or sets the identity of the content item. (Inherited from ContentItem.)
Name Gets or sets the name of the content item. (Inherited from ContentItem.)
OpaqueData Gets the opaque data of the content item. (Inherited from ContentItem.)
VideoSoundtrackType Gets or sets the type of soundtrack accompanying the video. 
Width Gets the width of this video. 
Top
  Platforms Name Description
Dispose() Immediately releases the unmanaged resources used by this object. (Implements IDisposable.Dispose().)
Dispose(bool)  
Finalize  (Overrides object.Finalize().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop