|
Drag[en]gine Script Module DragonScript 1.32.1
|
Video player resources. More...
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. | |
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.
| Video Dragengine.Gui.VideoPlayer.getVideo | ( | ) |
Video or null if not set.
| 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.