HandRay.Update(Vector3, Vector3, Transform, Handedness) 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.
Update data used by hand implementation, to compute next HandRay.
public:
virtual void Update(UnityEngine::Vector3 handPosition, UnityEngine::Vector3 palmNormal, UnityEngine::Transform ^ headTransform, Microsoft::MixedReality::Toolkit::Utilities::Handedness sourceHandedness);
public void Update (UnityEngine.Vector3 handPosition, UnityEngine.Vector3 palmNormal, UnityEngine.Transform headTransform, Microsoft.MixedReality.Toolkit.Utilities.Handedness sourceHandedness);
abstract member Update : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Transform * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
override this.Update : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Transform * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
Public Sub Update (handPosition As Vector3, palmNormal As Vector3, headTransform As Transform, sourceHandedness As Handedness)
Parameters
- handPosition
- UnityEngine.Vector3
Position of hand
- palmNormal
- UnityEngine.Vector3
Palm normal
- headTransform
- UnityEngine.Transform
Transform of CameraCache.main
- sourceHandedness
- Handedness
Handedness of related hand