Editar

Partilhar via


FocusEventData Class

Definition

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

public ref class FocusEventData : UnityEngine::EventSystems::BaseEventData
public class FocusEventData : UnityEngine.EventSystems.BaseEventData
type FocusEventData = class
    inherit BaseEventData
Public Class FocusEventData
Inherits 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)

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

Initialize(IMixedRealityPointer, GameObject, GameObject)

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

Applies to