Component:LegacyVideoPlayer: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Automated: update SyncDelegates
Line 40: Line 40:
|_assetProxy|'''[[Component:AssetProxy`1|AssetProxy`1]]<[[Type:VideoTexture|VideoTexture]]>'''|TypeAdv31=true|
|_assetProxy|'''[[Component:AssetProxy`1|AssetProxy`1]]<[[Type:VideoTexture|VideoTexture]]>'''|TypeAdv31=true|
|_referenceProxy|'''[[Component:ReferenceProxy|ReferenceProxy]]'''|TypeAdv32=true|
|_referenceProxy|'''[[Component:ReferenceProxy|ReferenceProxy]]'''|TypeAdv32=true|
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnIndicatorTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|OnPlayTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|OnPauseTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|OnStopTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|OnLoopTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|OnAudio3DTouched[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true|
|VolumeUp[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|true|
|VolumeDown[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|true|
|FastForward[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|true|
|FastBackward[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|[[Type:Action`1|Action`1]]<[[Component:LegacySlider|LegacySlider]]>|true|
}}
}}



Revision as of 06:03, 17 March 2025

Component image 
Legacy Video Player component as seen in the Scene Inspector

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

Usage

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. Some components stop their functionality when this field is disabled, but some don't.
StereoLayout StereoLayout
SizeCompensation Float2
videoProvider VideoTexture
_style LegacyUIStyle
_indicatorTextureUrl field drive of Uri
_indicatorTint field drive of ColorX
_colliderSize field drive of Float3
_frameWidth field drive of Float
_frameHeight field drive of Float
_frameMaterial reference drive of PBS_RimMetallic
_displayMaterial UnlitMaterial
_displayMaterialTexture reference drive of AssetRef`1<ITexture2D>
_displaySize field drive of Float2
_mainAudioOutput AudioOutput
_timelineSlider LegacySlider
_timelinePosition field drive of Float3
_timelineWidth field drive of Float
_positionDrive field drive of Float
_volumeSlider LegacySlider
_volumePosition field drive of Float3
_volumeWidth field drive of Float
_volumeDrive field drive of Float
_buttonsWidth field drive of Float
_buttonsHeight field drive of Float
_buttonsPosition field drive of Float3
_playButtonColor field drive of ColorX
_pauseButtonColor field drive of ColorX
_stopButtonColor field drive of ColorX
_loopButtonColor field drive of ColorX
_audio3DButtonColor field drive of ColorX
_exportable VideoExportable
_assetProxy AssetProxy`1<VideoTexture>
_referenceProxy ReferenceProxy

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OnIndicatorTouchedTouchEvent TouchEvent
OnPlayTouchedTouchEvent TouchEvent
OnPauseTouchedTouchEvent TouchEvent
OnStopTouchedTouchEvent TouchEvent
OnLoopTouchedTouchEvent TouchEvent
OnAudio3DTouchedTouchEvent TouchEvent
VolumeUpAction`1<LegacySlider> Action`1<LegacySlider>
VolumeDownAction`1<LegacySlider> Action`1<LegacySlider>
FastForwardAction`1<LegacySlider> Action`1<LegacySlider>
FastBackwardAction`1<LegacySlider> Action`1<LegacySlider>

Behavior

Examples

See Also