mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class TeleportHotSpot

    SDK component handling teleportation to a specific position & orientation when a user focuses this GameObject and triggers the teleport action.

    Inheritance
    Object
    TeleportHotSpot
    Implements
    IMixedRealityTeleportHotSpot
    BaseFocusHandler
    Namespace: Microsoft.MixedReality.Toolkit.Teleport
    Assembly: cs.temp.dll.dll
    Syntax
    public class TeleportHotSpot : BaseFocusHandler, IMixedRealityTeleportHotSpot, BaseFocusHandler

    Properties

    GameObjectReference

    Declaration
    public GameObject GameObjectReference { get; }
    Property Value
    Type Description
    GameObject

    GameObjectReference

    Declaration
    public GameObject GameObjectReference { get; }
    Property Value
    Type Description
    GameObject

    IsActive

    Declaration
    public bool IsActive { get; }
    Property Value
    Type Description
    Boolean

    IsActive

    Declaration
    public bool IsActive { get; }
    Property Value
    Type Description
    Boolean

    Normal

    Declaration
    public Vector3 Normal { get; }
    Property Value
    Type Description
    Vector3

    Normal

    Declaration
    public Vector3 Normal { get; }
    Property Value
    Type Description
    Vector3

    OverrideTargetOrientation

    Declaration
    public bool OverrideTargetOrientation { get; }
    Property Value
    Type Description
    Boolean

    OverrideTargetOrientation

    Declaration
    public bool OverrideTargetOrientation { get; }
    Property Value
    Type Description
    Boolean

    Position

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    Position

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    TargetOrientation

    Declaration
    public float TargetOrientation { get; }
    Property Value
    Type Description
    Single

    TargetOrientation

    Declaration
    public float TargetOrientation { get; }
    Property Value
    Type Description
    Single

    Methods

    OnBeforeFocusChange(FocusEventData)

    Declaration
    public override void OnBeforeFocusChange(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnBeforeFocusChange(FocusEventData)

    Declaration
    public override void OnBeforeFocusChange(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    Implements

    IMixedRealityTeleportHotSpot
    BaseFocusHandler
    In This Article
    • Properties
      • GameObjectReference
      • GameObjectReference
      • IsActive
      • IsActive
      • Normal
      • Normal
      • OverrideTargetOrientation
      • OverrideTargetOrientation
      • Position
      • Position
      • TargetOrientation
      • TargetOrientation
    • Methods
      • OnBeforeFocusChange(FocusEventData)
      • OnBeforeFocusChange(FocusEventData)
    • Implements
    Back to top Generated by DocFX