FocusEventData Class

Definition

Describes an Input Event associated with a specific pointer's focus state change.

C++
public ref class FocusEventData : UnityEngine::EventSystems::BaseEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
FocusEventData

Constructors

FocusEventData(EventSystem) UnityEngine.EventSystems.BaseEventData.#ctor(UnityEngine.EventSystems.EventSystem)

Properties

NewFocusedObject

The new focused object.

OldFocusedObject

The old focused object.

Pointer

The pointer associated with this event.

Methods

Initialize(IMixedRealityPointer, GameObject, GameObject)

Used to initialize/reset the event and populate the data.

Initialize(IMixedRealityPointer)

Used to initialize/reset the event and populate the data.

Applies to

Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0