Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.VideoPlayer Class Reference

Video player resources. More...

Inheritance diagram for Dragengine.Gui.VideoPlayer:

Public Member Functions

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

Detailed Description

Video player resources.

This is a native class.

Member Function Documentation

◆ getLooping()

bool Dragengine.Gui.VideoPlayer.getLooping ( )

Video is looping.

◆ getPlayFrom()

float Dragengine.Gui.VideoPlayer.getPlayFrom ( )

Start play position.

◆ getPlayPosition()

float Dragengine.Gui.VideoPlayer.getPlayPosition ( )

Play position.

◆ getPlaySpeed()

float Dragengine.Gui.VideoPlayer.getPlaySpeed ( )

Play speed.

◆ getPlayTo()

float Dragengine.Gui.VideoPlayer.getPlayTo ( )

End play position.

◆ getVideo()

Video Dragengine.Gui.VideoPlayer.getVideo ( )

Video or null if not set.

◆ isPaused()

bool Dragengine.Gui.VideoPlayer.isPaused ( )

Video is paused.

◆ isPlaying()

bool Dragengine.Gui.VideoPlayer.isPlaying ( )

Video is playing back.

◆ isStopped()

bool Dragengine.Gui.VideoPlayer.isStopped ( )

Video is stopped.

◆ new()

VideoPlayer Dragengine.Gui.VideoPlayer.new ( )

Create video player.

◆ pause()

void Dragengine.Gui.VideoPlayer.pause ( )

Pause playing.

◆ play()

void Dragengine.Gui.VideoPlayer.play ( )

Start playing.

◆ setLooping()

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

Set if video is looping.

◆ setPlayPosition()

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

Set play position.

◆ setPlayRange()

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

Set play range.

◆ setPlaySpeed()

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

Set play speed.

◆ setVideo()

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

Set video or null to unset.

◆ stop()

void Dragengine.Gui.VideoPlayer.stop ( )

Stop playing.

◆ update()

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

Update video player.


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