SpherePointer.TryGetNearGraspPoint(Vector3) 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 position of where grasp happens For IMixedRealityHand it's determined by Microsoft.MixedReality.Toolkit.Input.SpherePointer.graspPointPlacement (either the average of index and thumb or the fingertip). For any other IMixedRealityController, return just the pointer origin
public:
virtual bool TryGetNearGraspPoint([Runtime::InteropServices::Out] UnityEngine::Vector3 % result);
public bool TryGetNearGraspPoint (out UnityEngine.Vector3 result);
abstract member TryGetNearGraspPoint : Vector3 -> bool
override this.TryGetNearGraspPoint : Vector3 -> bool
Public Function TryGetNearGraspPoint (ByRef result As Vector3) As Boolean
Parameters
- result
- UnityEngine.Vector3