Interface IMixedRealityTeleportSystem
Manager interface for a Teleport system in the Mixed Reality Toolkit All replacement systems for providing Teleportation functionality should derive from this interface
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Teleport
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityTeleportSystem : IMixedRealityEventSystem, IMixedRealityService, IDisposable
Properties
TeleportDuration
The duration of the teleport in seconds.
Declaration
float TeleportDuration { get; set; }
Property Value
Type | Description |
---|---|
Single |
TeleportDuration
The duration of the teleport in seconds.
Declaration
float TeleportDuration { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
RaiseTeleportCanceled(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation canceled event.
Declaration
void RaiseTeleportCanceled(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |
RaiseTeleportCanceled(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation canceled event.
Declaration
void RaiseTeleportCanceled(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |
RaiseTeleportRequest(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation request event.
Declaration
void RaiseTeleportRequest(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |
RaiseTeleportRequest(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation request event.
Declaration
void RaiseTeleportRequest(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |
RaiseTeleportStarted(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation started event.
Declaration
void RaiseTeleportStarted(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |
RaiseTeleportStarted(IMixedRealityPointer, IMixedRealityTeleportHotSpot)
Raise a teleportation started event.
Declaration
void RaiseTeleportStarted(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer | The pointer that raised the event. |
IMixedRealityTeleportHotSpot | hotSpot | The teleport target |