Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.VideoPlayer Class Reference

Video player resources. More...

Inheritance diagram for Dragengine.Gui.VideoPlayer:

Public Member Functions

Constructors
VideoPlayer new ()
 Create video player.
Management
Video getVideo ()
 Video or null if not set.
void setVideo (Video sound)
 Set video or null to unset.
bool getLooping ()
 Video is looping.
void setLooping (bool looping)
 Set if video is looping.
float getPlayFrom ()
 Start play position.
float getPlayTo ()
 End play position.
void setPlayRange (float playFrom, float playTo)
 Set play range.
float getPlayPosition ()
 Play position.
void setPlayPosition (float position)
 Set play position.
float getPlaySpeed ()
 Play speed.
void setPlaySpeed (float playSpeed)
 Set play speed.
bool isPlaying ()
 Video is playing back.
bool isPaused ()
 Video is paused.
bool isStopped ()
 Video is stopped.
void play ()
 Start playing.
void stop ()
 Stop playing.
void pause ()
 Pause playing.
void update (float elapsed)
 Update video player.

Detailed Description

Video player resources.

This is a native class.

Member Function Documentation

◆ getLooping()

bool Dragengine.Gui.VideoPlayer.getLooping ( )

Video is looping.

Referenced by setLooping().

◆ getPlayFrom()

float Dragengine.Gui.VideoPlayer.getPlayFrom ( )

Start play position.

Referenced by setPlayRange().

◆ getPlayPosition()

float Dragengine.Gui.VideoPlayer.getPlayPosition ( )

Play position.

Referenced by setPlaySpeed().

◆ getPlaySpeed()

float Dragengine.Gui.VideoPlayer.getPlaySpeed ( )

Play speed.

References setPlayRange().

Referenced by isStopped().

◆ getPlayTo()

float Dragengine.Gui.VideoPlayer.getPlayTo ( )

End play position.

References setLooping().

Referenced by setPlayPosition().

◆ getVideo()

Video Dragengine.Gui.VideoPlayer.getVideo ( )

Video or null if not set.

References getVideo().

Referenced by getVideo().

◆ isPaused()

bool Dragengine.Gui.VideoPlayer.isPaused ( )

Video is paused.

References setPlayPosition().

Referenced by update().

◆ isPlaying()

bool Dragengine.Gui.VideoPlayer.isPlaying ( )

Video is playing back.

Referenced by pause().

◆ isStopped()

bool Dragengine.Gui.VideoPlayer.isStopped ( )

Video is stopped.

References getPlaySpeed().

Referenced by update().

◆ new()

VideoPlayer Dragengine.Gui.VideoPlayer.new ( )

Create video player.

References new().

Referenced by new().

◆ pause()

void Dragengine.Gui.VideoPlayer.pause ( )

Pause playing.

References isPlaying().

Referenced by update().

◆ play()

void Dragengine.Gui.VideoPlayer.play ( )

Start playing.

Referenced by update().

◆ setLooping()

void Dragengine.Gui.VideoPlayer.setLooping ( bool looping)

Set if video is looping.

References getLooping().

Referenced by getPlayTo().

◆ setPlayPosition()

void Dragengine.Gui.VideoPlayer.setPlayPosition ( float position)

Set play position.

References getPlayTo().

Referenced by isPaused().

◆ setPlayRange()

void Dragengine.Gui.VideoPlayer.setPlayRange ( float playFrom,
float playTo )

Set play range.

References getPlayFrom().

Referenced by getPlaySpeed().

◆ setPlaySpeed()

void Dragengine.Gui.VideoPlayer.setPlaySpeed ( float playSpeed)

Set play speed.

References getPlayPosition().

Referenced by stop().

◆ setVideo()

void Dragengine.Gui.VideoPlayer.setVideo ( Video sound)

Set video or null to unset.

References setVideo().

Referenced by setVideo().

◆ stop()

void Dragengine.Gui.VideoPlayer.stop ( )

Stop playing.

References setPlaySpeed().

Referenced by update().

◆ update()

void Dragengine.Gui.VideoPlayer.update ( float elapsed)

Update video player.

References isPaused(), isStopped(), pause(), play(), stop(), and update().

Referenced by update().


The documentation for this class was generated from the following file: