Class TeleportEventData
Describes a Teleportation Event.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Teleport
Assembly: cs.temp.dll.dll
Syntax
public class TeleportEventData : GenericBaseEventData
Constructors
TeleportEventData(EventSystem)
Constructor.
Declaration
public TeleportEventData(EventSystem eventSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| EventSystem | eventSystem | Typically will be EventSystem.current |
Properties
HotSpot
The teleport hot spot.
Declaration
public IMixedRealityTeleportHotSpot HotSpot { get; }
Property Value
| Type | Description |
|---|---|
| IMixedRealityTeleportHotSpot |
Pointer
The pointer that raised the event.
Declaration
public IMixedRealityPointer Pointer { get; }
Property Value
| Type | Description |
|---|---|
| IMixedRealityPointer |
Methods
Initialize(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot target)
Parameters
| Type | Name | Description |
|---|---|---|
| IMixedRealityPointer | pointer | |
| IMixedRealityTeleportHotSpot | target |