mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Interface IMixedRealityTeleportHotSpot

    Namespace: Microsoft.MixedReality.Toolkit.Teleport
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealityTeleportHotSpot

    Properties

    GameObjectReference

    Returns the GameObject reference for this teleport target.

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

    GameObjectReference

    Returns the GameObject reference for this teleport target.

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

    IsActive

    Is the teleport target active?

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

    IsActive

    Is the teleport target active?

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

    Normal

    The normal of the teleport raycast.

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

    Normal

    The normal of the teleport raycast.

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

    OverrideTargetOrientation

    Should the target orientation be overridden?

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

    OverrideTargetOrientation

    Should the target orientation be overridden?

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

    Position

    The position the teleport will end at.

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

    Position

    The position the teleport will end at.

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

    TargetOrientation

    Should the destination orientation be overridden? Useful when you want to orient the user in a specific direction when they teleport to this position.

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

    Override orientation is the transform forward of the GameObject this component is attached to.

    TargetOrientation

    Should the destination orientation be overridden? Useful when you want to orient the user in a specific direction when they teleport to this position.

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

    Override orientation is the transform forward of the GameObject this component is attached to.

    In This Article
    • Properties
      • GameObjectReference
      • GameObjectReference
      • IsActive
      • IsActive
      • Normal
      • Normal
      • OverrideTargetOrientation
      • OverrideTargetOrientation
      • Position
      • Position
      • TargetOrientation
      • TargetOrientation
    Back to top Generated by DocFX