Drag[en]gine Script Module DragonScript Script API 1.0
Immutable video resources. More...
|Normalized filename the video has been loaded from. More...|
|Wwidth in pixels. More...|
|Height in pixels. More...|
|Number of frames. More...|
|Frame rate. More...|
|Play time in seconds. More...|
|Video is streaming. More...|
|bool||equals (Object other)|
|Video is equal to another object. More...|
|Hash code for use as dictionary keys. More...|
|Video||new (String filename, bool streaming)|
|Load video from file. More...|
|static void||loadAsynchron (String filename, ResourceNotifier notifier)|
|Load video from file asynchronously. More...|
Immutable video resources.
This is a native class. It can not be subclassed.
Normalized filename the video has been loaded from.
Number of frames.
Height in pixels.
Play time in seconds.
Video is streaming.
Wwidth in pixels.
Hash code for use as dictionary keys.
Load video from file asynchronously.
Registers a request in the game engine to load an video. Once finished or if the file is already loaded the notifier is used to deliver the loaded video or null if the loading failed.
Load video from file.
If the video file has been already loaded it is assigned to this object. If the video is not loaded yet the engine loads the video. This call blocks until the video is fully loaded and ready to be used. For asynchronous loading use loadAsynchron(). Multiple objects can point to the same loaded video resource. Once no object instance uses an video file anymore it is released from memory.