Editar

Partilhar via


FocusProvider.TryOverrideFocusDetails Method

Definition

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

focusDetails
FocusDetails

Returns

True if the FocusDetails were set successfully. False if the pointer is not associated with the FocusProvider.

Implements

Applies to