編集

次の方法で共有


TeleportEventData Class

Definition

Describes a Teleportation Event.

public ref class TeleportEventData : Microsoft::MixedReality::Toolkit::GenericBaseEventData
public class TeleportEventData : Microsoft.MixedReality.Toolkit.GenericBaseEventData
type TeleportEventData = class
    inherit GenericBaseEventData
Public Class TeleportEventData
Inherits GenericBaseEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
TeleportEventData

Constructors

TeleportEventData(EventSystem)

Constructor.

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