Class TeleportPointer
Inheritance
TeleportPointer
Implements
IMixedRealityTeleportPointer
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class TeleportPointer : LinePointer, IMixedRealityTeleportPointer, IMixedRealityTeleportHandler, IEventSystemHandler
Fields
Declaration
protected LayerMask InvalidLayers
Field Value
Type |
Description |
LayerMask |
|
Declaration
protected bool isTeleportRequestActive
Field Value
Declaration
protected Gradient LineColorHotSpot
Field Value
Type |
Description |
Gradient |
|
Declaration
protected LayerMask ValidLayers
Field Value
Type |
Description |
LayerMask |
|
Properties
Declaration
public DistorterGravity GravityDistorter { get; }
Property Value
Type |
Description |
DistorterGravity |
|
Declaration
public override bool IsInteractionEnabled { get; }
Property Value
Declaration
public float PointerOrientation { get; set; }
Property Value
Declaration
public IMixedRealityTeleportHotSpot TeleportHotSpot { get; set; }
Property Value
Declaration
public bool TeleportRequestRaised { get; }
Property Value
The result from the last raycast.
Declaration
public TeleportSurfaceResult TeleportSurfaceResult { get; }
Property Value
Type |
Description |
TeleportSurfaceResult |
|
Methods
Declaration
protected Gradient GetLineGradient(TeleportSurfaceResult targetResult)
Parameters
Type |
Name |
Description |
TeleportSurfaceResult |
targetResult |
|
Returns
Type |
Description |
Gradient |
|
Declaration
protected override void OnDisable()
Declaration
protected override void OnEnable()
Declaration
public override void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Type |
Name |
Description |
InputEventData<Vector2> |
eventData |
|
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
Declaration
public override void OnPreSceneQuery()
Raised when a teleport request has been canceled.
Declaration
public virtual void OnTeleportCanceled(TeleportEventData eventData)
Parameters
Raised when a teleport has successfully completed.
Declaration
public virtual void OnTeleportCompleted(TeleportEventData eventData)
Parameters
Raised when a pointer requests a teleport target, but no teleport has begun.
Declaration
public virtual void OnTeleportRequest(TeleportEventData eventData)
Parameters
Raised when a teleport has started.
Declaration
public virtual void OnTeleportStarted(TeleportEventData eventData)
Parameters
Declaration
protected override void Start()
Implements
IMixedRealityTeleportPointer
IEventSystemHandler