編集

次の方法で共有


MixedRealityInputSystem.RaiseFocusChanged Method

Definition

Raise the focus changed event.

public:
 virtual void RaiseFocusChanged(Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer ^ pointer, UnityEngine::GameObject ^ oldFocusedObject, UnityEngine::GameObject ^ newFocusedObject);
public void RaiseFocusChanged (Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer pointer, UnityEngine.GameObject oldFocusedObject, UnityEngine.GameObject newFocusedObject);
abstract member RaiseFocusChanged : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * UnityEngine.GameObject * UnityEngine.GameObject -> unit
override this.RaiseFocusChanged : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer * UnityEngine.GameObject * UnityEngine.GameObject -> unit
Public Sub RaiseFocusChanged (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.

Implements

Applies to