Class YVRPhysicsRaycaster
Raycaster used for raycasting physics targets
Inheritance
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
BaseRaycaster
YVRPhysicsRaycaster
Namespace: YVR.Core
Assembly: YVR.Core.Runtime.dll
Syntax
public class YVRPhysicsRaycaster : BaseRaycaster
Fields
Name | Description |
---|---|
eventMask | The layer that physics ray should care |
Properties
Name | Description |
---|---|
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 |
Raycast(PointerEventData, List<RaycastResult>) | Processing actual raycast, will be triggered by EventSystem.RaycastAll |