ReadonlycurrentReturns the number of played cycles.
ReadonlycurrentReturns the current time in seconds, or zero if accessed during playback being in unprepared state.
ReadonlydurationReturns the duration of playback range in seconds, or zero if accessed while playback is in an unprepared state.
ReadonlyisReturns true if video file has been loaded and is ready for decoding and false otherwise.
ReadonlylastReturns the time of the last acquired texture in seconds, or zero if accessed during playback being in unprepared state.
ReadonlyonThe event for being reported about playback finished. When this event is triggered, lens developers can evict this texture from material slots to avoid disrupting user's experience.
ReadonlyonThe event for being reported about playback start. When this event is triggered, lens developers can set video texture to material slots and see actual video frames.
The playback rate of the video. The rate is set when starting playback, meaning that updates to this property does not take effect until the video is stopped and started again. Defaults to 1.
Sets or returns playback end time in unit range.
Sets or returns playback start time in unit range.
ReadonlystatusA read-only property that returns the status of provider. Suggested as a substitution for the existing getStatus()
ReadonlytotalReturns the duration of loaded video file in seconds, or zero if accessed during playback being in unprepared state.
The audio volume of the video resource, normalized from 0 to 1.
Returns the texture's aspect ratio, which is calculated as width / height.
Returns the height of the texture in pixels.
Returns the name of this object's type.
Returns the width of the texture in pixels.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Pauses the video playback.
Plays the video playCount times. If playCount is less than 0, it loops infinitely.
Resumes the video playback.
Sets the current playback time to the specified time in seconds.
Stops the video playback.
Controls a video texture resource. Can be accessed through Texture.control.
See
Used By: MediaPickerTextureProvider#videoControl
Example