Class YVRGraphicRaycaster
Raycaster used for raycasting graphic targets
Inheritance
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
BaseRaycaster
GraphicRaycaster
YVRGraphicRaycaster
Inherited Members
GraphicRaycaster.kNoEventMaskSet
GraphicRaycaster.m_BlockingMask
GraphicRaycaster.sortOrderPriority
GraphicRaycaster.renderOrderPriority
GraphicRaycaster.ignoreReversedGraphics
GraphicRaycaster.blockingObjects
GraphicRaycaster.blockingMask
BaseRaycaster.ToString()
BaseRaycaster.OnEnable()
BaseRaycaster.OnDisable()
BaseRaycaster.OnCanvasHierarchyChanged()
BaseRaycaster.OnTransformParentChanged()
BaseRaycaster.priority
BaseRaycaster.rootRaycaster
UIBehaviour.Awake()
UIBehaviour.Start()
UIBehaviour.OnDestroy()
UIBehaviour.IsActive()
UIBehaviour.OnValidate()
UIBehaviour.Reset()
UIBehaviour.OnRectTransformDimensionsChange()
UIBehaviour.OnBeforeTransformParentChanged()
UIBehaviour.OnDidApplyAnimationProperties()
UIBehaviour.OnCanvasGroupChanged()
UIBehaviour.IsDestroyed()
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
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)
Object.name
Object.hideFlags
Namespace: YVR.Core
Assembly: YVR.Core.Runtime.dll
Syntax
[RequireComponent(typeof(Canvas))]
public class YVRGraphicRaycaster : GraphicRaycaster
Fields
Name | Description |
---|---|
m_RaycastHitResults | Raycaster used for raycasting graphic targets |
Properties
Name | Description |
---|---|
canvas | Raycaster used for raycasting graphic targets |
eventCamera | The camera used to convert rayhit's world position to screen position |
Methods
Name | Description |
---|---|
GetRaycastResultScreenPosition(RaycastResult) | Convert hit point position from world space to the screen space |
GraphicRaycast(Canvas, Ray, List<RaycastHit>) | Raycaster used for raycasting graphic targets |
Raycast(PointerEventData, List<RaycastResult>) | Processing actual raycast, will be triggered by EventSystem.RaycastAll |
Raycast(YVRPointerEventData, ICollection<RaycastResult>) | Raycaster used for raycasting graphic targets |