Class VideoPlayer
- Namespace
- Lime
- Assembly
- Lime.dll
public class VideoPlayer : Image, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable, IImageCombinerArg, IMaterialComponentOwner, IUpdatableNode
- Inheritance
-
VideoPlayer
- Implements
- Inherited Members
- Extension Methods
Constructors
VideoPlayer()
public VideoPlayer()
VideoPlayer(Widget)
public VideoPlayer(Widget parentWidget)
Parameters
parentWidget
Widget
Properties
CurrentPosition
public float CurrentPosition { get; set; }
Property Value
Duration
public float Duration { get; }
Property Value
Looped
public bool Looped { get; set; }
Property Value
MuteAudio
public bool MuteAudio { get; set; }
Property Value
Status
public VideoPlayerStatus Status { get; }
Property Value
Methods
Dispose()
Stops all tasks and calls Dispose of all descendants.
public override void Dispose()
GetRenderObject()
TODO: Add summary.
protected override RenderObject GetRenderObject()
Returns
InitPlayer(string)
public void InitPlayer(string sourcePath)
Parameters
sourcePath
string
OnUpdate(float)
public virtual void OnUpdate(float delta)
Parameters
delta
float
Pause()
public void Pause()
Start(Action)
public void Start(Action onStart)
Parameters
onStart
Action
Stop()
public void Stop()