Drag[en]gine Script Module DragonScript
1.23
|
Video player resources. More...
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... | |
Video player resources.
This is a native class.
bool Dragengine.Gui.VideoPlayer.getLooping | ( | ) |
Video is looping.
float Dragengine.Gui.VideoPlayer.getPlayFrom | ( | ) |
Start play position.
float Dragengine.Gui.VideoPlayer.getPlayPosition | ( | ) |
Play position.
float Dragengine.Gui.VideoPlayer.getPlaySpeed | ( | ) |
Play speed.
float Dragengine.Gui.VideoPlayer.getPlayTo | ( | ) |
End play position.
bool Dragengine.Gui.VideoPlayer.isPaused | ( | ) |
Video is paused.
bool Dragengine.Gui.VideoPlayer.isPlaying | ( | ) |
Video is playing back.
bool Dragengine.Gui.VideoPlayer.isStopped | ( | ) |
Video is stopped.
VideoPlayer Dragengine.Gui.VideoPlayer.new | ( | ) |
Create video player.
void Dragengine.Gui.VideoPlayer.pause | ( | ) |
Pause playing.
void Dragengine.Gui.VideoPlayer.play | ( | ) |
Start playing.
void Dragengine.Gui.VideoPlayer.setLooping | ( | bool | looping | ) |
Set if video is looping.
void Dragengine.Gui.VideoPlayer.setPlayPosition | ( | float | position | ) |
Set play position.
void Dragengine.Gui.VideoPlayer.setPlayRange | ( | float | playFrom, |
float | playTo | ||
) |
Set play range.
void Dragengine.Gui.VideoPlayer.setPlaySpeed | ( | float | playSpeed | ) |
Set play speed.
void Dragengine.Gui.VideoPlayer.setVideo | ( | Video | sound | ) |
Set video or null to unset.
void Dragengine.Gui.VideoPlayer.stop | ( | ) |
Stop playing.
void Dragengine.Gui.VideoPlayer.update | ( | float | elapsed | ) |
Update video player.