Editar

Partilhar via


IMixedRealityFocusProvider.GetFocusedObject(IMixedRealityPointer) Method

Definition

Gets the currently focused object for the pointing source.

public:
 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
Public Function GetFocusedObject (pointingSource As IMixedRealityPointer) As GameObject

Parameters

pointingSource
IMixedRealityPointer

Returns

UnityEngine.GameObject

Currently Focused Object.

Remarks

If the pointing source is not registered, then the Gaze's Focused GameObject is returned.

Applies to