Build a VideoSprite
The height of the image, in meters
Optionaloffset?: JLOffsetAn offset between the component's center and its RigidBody's center (optional)
The name of the video file to use
The width of the image, in meters
Optionalz?: 0 | 1 | 2 | 4 | -4 | 3 | -3 | -2 | -1An optional z index in the range [-4,4]
OptionalactorThe Actor to which this ImageSprite is attached
Height of the image
An offset between the VideoSprite's center and the RigidBody's center
The image to display for this actor
The name of the video file
Width of the image
Z index of the image
The duration of the video associated with this VideoSprite
Code to run when the video playback reaches the end. Setting this replaces any previously-set handler; only one can be registered at a time.
Pause this VideoSprite's video
Start playing this VideoSprite's video
Render the video when it does not have a rigidBody. This is only used for Parallax
The center x/y at which to draw the image
The camera for the current stage
Should this go in the foreground (true) or background (false)
Restart the video playback from the beginning
VideoSprite describes any object whose visual representation is achieved by playing a video.