A derived BaseRaycaster to raycast against UI Toolkit panel instances at runtime.
InheritancePanelRaycaster
Inherited MembersComponent.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.UIElements Assembly: UnityEngine.UI.dll Syntax[AddComponentMenu("UI Toolkit/Panel Raycaster (UI Toolkit)")]
public class PanelRaycaster : BaseRaycaster
Properties eventCamera
The camera that will generate rays for this raycaster.
Declarationpublic override Camera eventCamera { get; }
Property Value Overrides panel
The panel that this component relates to. If panel is null, this component will have no effect. Will be set to null automatically if panel is Disposed from an external source.
Declarationpublic IPanel panel { get; set; }
Property Value renderOrderPriority
Priority of the raycaster based upon render order.
Declarationpublic override int renderOrderPriority { get; }
Property Value Overrides sortOrderPriority
Priority of the raycaster based upon sort order.
Declarationpublic override int sortOrderPriority { get; }
Property Value Overrides Methods Raycast(PointerEventData, List<RaycastResult>)
Raycast against the scene.
Declarationpublic override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)
Parameters Overrides
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4