FocusProvider.GetFocusedObject(IMixedRealityPointer) 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.
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.