InputRayUtils.TryGetHandRay(Handedness, Ray) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ray associated with the user's hand.
public:
static bool TryGetHandRay(Microsoft::MixedReality::Toolkit::Utilities::Handedness hand, [Runtime::InteropServices::Out] UnityEngine::Ray % ray);
public static bool TryGetHandRay (Microsoft.MixedReality.Toolkit.Utilities.Handedness hand, out UnityEngine.Ray ray);
static member TryGetHandRay : Microsoft.MixedReality.Toolkit.Utilities.Handedness * Ray -> bool
Public Shared Function TryGetHandRay (hand As Handedness, ByRef ray As Ray) As Boolean
Parameters
- hand
- Handedness
The handedness of the hand
- ray
- UnityEngine.Ray
The ray being returned
Returns
True if the ray is being returned, false otherwise.