UiRaycasterComponent
- Namespace: Turian.Engine.UI
- Source File: UiRaycasterComponent.cs
Makes the sibling UiDocumentComponent's WorldSpace panel interactive: each frame the active camera's pointer ray is intersected with the panel quad and, on a hit, drives that panel's input at the corresponding pixel. Without this component a world-space panel is display-only.
Properties
MaxDistance
(float) { get; set }: Maximum ray length in world units; a panel farther than this is not interactive. Zero or negative means unlimited.