GreaseMonkey (talk | contribs) m GreaseMonkey moved page Category:PlaybackStateDriver to Component:PlaybackStateDriver: Misspelled title: Component starts with the same letter as Category... oops |
Automated: update component fields |
||
Line 12: | Line 12: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Source|IPlayable| Playback source - VideoTextureProvider or Playback | |Source|IPlayable| Playback source - VideoTextureProvider or Playback | ||
|IsPlaying| | |IsPlaying|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv1=true| Will drive IField<bool> to true if playing, false if not playing | ||
|IsNotPlaying| | |IsNotPlaying|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| Will drive IField<bool> to true is not playing, false if playing | ||
|IsPaused| | |IsPaused|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| Will drive IField<bool> to true if video is paused | ||
|IsStopped| | |IsStopped|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| Will drive IField<bool> to true if video is stopped | ||
}} | }} | ||
Revision as of 19:27, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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
|
field drive of Bool | Will drive IField<bool> to true if playing, false if not playing |
IsNotPlaying
|
field drive of Bool | Will drive IField<bool> to true is not playing, false if playing |
IsPaused
|
field drive of Bool | Will drive IField<bool> to true if video is paused |
IsStopped
|
field drive of Bool | Will drive IField<bool> to true if video is stopped |
Usage
Examples
The Source (being driven by a VideoTextureProvider) is driving the ValueField<bool> Value to true, since the video is playing.