FocusProvider.GetFocusedObject(IMixedRealityPointer) Method

Definition

Gets the currently focused object for the pointing source.

public:
 virtual UnityEngine::GameObject ^ GetFocusedObject(Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer ^ pointingSource);
public UnityEngine.GameObject GetFocusedObject (Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer pointingSource);
abstract member GetFocusedObject : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer -> UnityEngine.GameObject
override this.GetFocusedObject : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer -> UnityEngine.GameObject
Public Function GetFocusedObject (pointingSource As IMixedRealityPointer) As GameObject

Parameters

pointingSource
IMixedRealityPointer

Returns

UnityEngine.GameObject

Currently Focused Object.

Implements

Applies to