Edit

Share via


InputRayUtils Class

Definition

Utilities for accessing position, rotation of rays.

public ref class InputRayUtils abstract sealed
public static class InputRayUtils
type InputRayUtils = class
Public Class InputRayUtils
Inheritance
InputRayUtils

Methods

GetHeadGazeRay()

Gets the ray representing the position and direction of the user's head.

TryGetEyeGazeRay(Ray)

Gets the ray representing the position and direction of the user's eyes.

TryGetHandRay(Handedness, Ray)

Gets the ray associated with the user's hand.

TryGetMotionControllerRay(Handedness, Ray)

Gets the ray associated with the motion controller.

TryGetRay(InputSourceType, Handedness, Ray)

Gets the ray associated with the desired input source type and hand.

Applies to