IMixedRealityInputSystem.RaisePreFocusChanged 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.
Raise the pre-focus changed event.
public:
void RaisePreFocusChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer ^ pointer, UnityEngine::GameObject ^ oldFocusedObject, UnityEngine::GameObject ^ newFocusedObject);
public void RaisePreFocusChanged (Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer pointer, UnityEngine.GameObject oldFocusedObject, UnityEngine.GameObject newFocusedObject);
abstract member RaisePreFocusChanged : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * UnityEngine.GameObject * UnityEngine.GameObject -> unit
Public Sub RaisePreFocusChanged (pointer As IMixedRealityPointer, oldFocusedObject As GameObject, newFocusedObject As GameObject)
Parameters
- pointer
- IMixedRealityPointer
The pointer that the focus change event is raised on.
- oldFocusedObject
- UnityEngine.GameObject
The old focused object.
- newFocusedObject
- UnityEngine.GameObject
The new focused object.
Remarks
This event is useful for doing logic before the focus changed event.