Class TeleportEventData
Describes a Teleportation Event.
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Teleport
Assembly: cs.temp.dll.dll
Syntax
public class TeleportEventData : GenericBaseEventData, BaseEventData
Constructors
TeleportEventData(EventSystem)
Constructor.
Declaration
public TeleportEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem | Typically will be EventSystem.current |
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 |
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 |
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 |
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 |
Implements
BaseEventData