Class MixedRealityTeleportSystem
Inheritance
MixedRealityTeleportSystem
Assembly: cs.temp.dll.dll
public class MixedRealityTeleportSystem : BaseCoreSystem, IMixedRealityTeleportSystem, IMixedRealityEventSystem, IMixedRealityService, IDisposable
Constructors
Declaration
public MixedRealityTeleportSystem()
Declaration
public MixedRealityTeleportSystem()
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public MixedRealityTeleportSystem(IMixedRealityServiceRegistrar registrar)
Parameters
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public MixedRealityTeleportSystem(IMixedRealityServiceRegistrar registrar)
Parameters
Properties
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Declaration
public float TeleportDuration { get; set; }
Property Value
Declaration
public float TeleportDuration { get; set; }
Property Value
Methods
Declaration
public override void Destroy()
Overrides
Declaration
public override void Destroy()
Overrides
Declaration
public override void HandleEvent<T>(BaseEventData eventData, ExecuteEvents.EventFunction<T> eventHandler)
where T : IEventSystemHandler
Parameters
Type |
Name |
Description |
BaseEventData |
eventData |
|
ExecuteEvents.EventFunction<T> |
eventHandler |
|
Type Parameters
Overrides
Microsoft.MixedReality.Toolkit.BaseEventSystem.HandleEvent<T>(BaseEventData, ExecuteEvents.EventFunction<T>)
Declaration
public override void HandleEvent<T>(BaseEventData eventData, ExecuteEvents.EventFunction<T> eventHandler)
where T : IEventSystemHandler
Parameters
Type |
Name |
Description |
BaseEventData |
eventData |
|
ExecuteEvents.EventFunction<T> |
eventHandler |
|
Type Parameters
Overrides
Microsoft.MixedReality.Toolkit.BaseEventSystem.HandleEvent<T>(BaseEventData, ExecuteEvents.EventFunction<T>)
Declaration
public override void Initialize()
Overrides
Declaration
public override void Initialize()
Overrides
Declaration
public void RaiseTeleportCanceled(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Declaration
public void RaiseTeleportCanceled(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Declaration
public void RaiseTeleportRequest(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Declaration
public void RaiseTeleportRequest(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Declaration
public void RaiseTeleportStarted(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Declaration
public void RaiseTeleportStarted(IMixedRealityPointer pointer, IMixedRealityTeleportHotSpot hotSpot)
Parameters
Register a GameObject to listen to teleport events.
Declaration
public override void Register(GameObject listener)
Parameters
Type |
Name |
Description |
GameObject |
listener |
|
Overrides
Register a GameObject to listen to teleport events.
Declaration
public override void Register(GameObject listener)
Parameters
Type |
Name |
Description |
GameObject |
listener |
|
Overrides
Unregister a GameObject from listening to teleport events.
Declaration
public override void Unregister(GameObject listener)
Parameters
Type |
Name |
Description |
GameObject |
listener |
|
Overrides
Unregister a GameObject from listening to teleport events.
Declaration
public override void Unregister(GameObject listener)
Parameters
Type |
Name |
Description |
GameObject |
listener |
|
Overrides
Implements
IDisposable