| ARWorldOriginHelperRaycast Method |
Helper function to perform an AR Raycast for the user - by default uses TrackableType.PlaneWithinPolygon which is the most common
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public Pose? Raycast(
Vector2 _touchPosition
)
Public Function Raycast (
_touchPosition As Vector2
) As Pose?
public:
Nullable<Pose> Raycast(
Vector2 _touchPosition
)
member Raycast :
_touchPosition : Vector2 -> Nullable<Pose>
Parameters
- _touchPosition
- Type: Vector2
Where the user touched
Return Value
Type:
NullablePoseTrue if they hit a trackable that fits the specified trackable type
See Also