Camera Source Component
Overview
This component creates a UI element from a Unity Camera
. This allows non-UI rendering to have UIFX filters applied to them.
WebGL Demo
Properties
Property | Type | Range | Default | Description |
---|---|---|---|---|
Camera | Camera | null | The camera 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.