PlaybackStateDriver

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Neos Wiki by expanding it.


Playback State Driver component as seen in the Scene Inspector

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated
Enabled Bool Controls whether or not this component is enabled
Source IPlayable Playback source - VideoTextureProvider or Playback
IsPlaying IField<bool> Will drive IField<bool> to true if playing, false if not playing
IsNotPlaying IField<bool> Will drive IField<bool> to true is not playing, false if playing
IsPaused IField<bool> Will drive IField<bool> to true if video is paused
IsStopped IField<bool> Will drive IField<bool> to true if video is stopped

Usage

Examples

Example of PlaybackStateDriver The Source (being driven by a VideoTextureProvider) is driving the ValueField<bool> Value to true, since the video is playing.

Related Components