FocusProvider.TryOverrideFocusDetails 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.
Sets the FocusDetails of the specified pointer, overriding the focus point that was currently set. This can be used to change the FocusDetails of a specific pointer even if focus is locked.
public:
virtual bool TryOverrideFocusDetails(Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer ^ pointer, Microsoft::MixedReality::Toolkit::Physics::FocusDetails focusDetails);
public bool TryOverrideFocusDetails (Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer pointer, Microsoft.MixedReality.Toolkit.Physics.FocusDetails focusDetails);
abstract member TryOverrideFocusDetails : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * Microsoft.MixedReality.Toolkit.Physics.FocusDetails -> bool
override this.TryOverrideFocusDetails : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * Microsoft.MixedReality.Toolkit.Physics.FocusDetails -> bool
Public Function TryOverrideFocusDetails (pointer As IMixedRealityPointer, focusDetails As FocusDetails) As Boolean
Parameters
- pointer
- IMixedRealityPointer
- focusDetails
- FocusDetails
Returns
True if the FocusDetails were set successfully. False if the pointer is not associated with the FocusProvider.