Прочитај на енглеском Уреди

Делите путем


TeleportEventData Class

Definition

Describes a Teleportation Event.

C++
public ref class TeleportEventData : Microsoft::MixedReality::Toolkit::GenericBaseEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
TeleportEventData

Constructors

Properties

EventSource

The Event Source that the event originates from.

(Inherited from GenericBaseEventData)
EventTime

The UTC time at which the event occurred.

(Inherited from GenericBaseEventData)
Hotspot

The teleport hot spot.

HotSpot

The teleport hot spot.

Pointer

The pointer that raised the event.

selectedObject

The BaseEventData.selectedObject is explicitly hidden because access to it (either via get or set) throws a NullReferenceException in typical usage within the MRTK. Prefer using the subclasses own fields to access information about the event instead of fields on BaseEventData.

(Inherited from GenericBaseEventData)

Methods

BaseInitialize(IMixedRealityEventSource)

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

(Inherited from GenericBaseEventData)
Initialize(IMixedRealityPointer, IMixedRealityTeleportHotspot)

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

Initialize(IMixedRealityPointer, IMixedRealityTeleportHotSpot)

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

Applies to

Производ Верзије
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