Configures various properties about audio playback. Any configuration parameter not included or set to 0 will not change the relevant value. Must be called prior to any play functions.
Configures various properties about video playback. Any configuration parameter not included or set to 0 will not change the relevant value. Must be called prior to any play functions.
Will get/create movie playback object. Must be called every frame (with dying=false) to keep playback alive.
Parameter
Type
Meaning
unique_id
int
Optional unique identifier for multiple playback objects within a single component.
dying
bool
If true, this call will not create or keep alive playback objects but will return dying playback objects if not yet released. Do not use in draw functions.
Determines if the final frame of the video should be held or if the original texture should be restored after video playback is complete. Must be called prior to any play functions.
Parameter
Type
Meaning
movie
Reference
The movie playback object.
value
bool
True to restore textures, false to hold last video frame.