eventCameras
The list of Event Cameras used to transform screen positions into world-space rays.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Camera[] eventCameras { get; set; }
Remarks
If multiple Event Cameras are specified, the Event Cameras are processed sequentially until one of the cameras produces a ray that hits a Collider.
If no Event Camera is specified, screen-based events are disabled.
If World Space input is disabled, this property has no effect.