Video Player Source Component
Overview
This component creates a UI element from a Unity VideoPlayer
. This allows non-UI rendering to have UIFX filters applied to them.
Properties
Property | Type | Range | Default | Description |
---|---|---|---|---|
Video Player | VidePlayer | null | The VideoPlayer to render. | |
Material | Material | null | The override material to use for rendering this UI Graphic . | |
Color | Color | White | The color to tint (multiply) this Graphic when rendering. | |
Raycast Target | Boolean | True | Whether or not this Graphic should support the raycaster (picking). | |
Maskable | Boolean | True | Whether or not this Graphic should support the masking components. |
Usage
Add this component to any UI GameObject
that doesn't already contain a Graphic
component. Assign the VideoPlayer
to be displayed.