docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class TeleportVolumeDestinationSettings

    Settings for evaluating the destination anchor for a TeleportationMultiAnchorVolume.

    Inheritance
    object
    TeleportVolumeDestinationSettings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class TeleportVolumeDestinationSettings

    Properties

    Name Description
    destinationEvaluationDelayTime

    The amount of time, in seconds, for which the user must hover over the volume before it designates a destination anchor. Only used if enableDestinationEvaluationDelay is true.

    destinationEvaluationFilter

    The filter used to evaluate a teleportation destination from the list of anchors. If this is null, the volume will use a FurthestTeleportationAnchorFilter to evaluate the destination.

    destinationFilterObject

    The object reference to the filter used to evaluate a teleportation destination. This object should implement the ITeleportationVolumeAnchorFilter interface. If this object is null, the volume will use a FurthestTeleportationAnchorFilter to evaluate the destination.

    destinationPollFrequency

    The amount of time, in seconds, between queries to the destinationEvaluationFilter for its calculated destination anchor. Only used if pollForDestinationChange is true.

    enableDestinationEvaluationDelay

    Whether to delay evaluation of the destination anchor until the user has hovered over the volume for a certain amount of time.

    pollForDestinationChange

    Whether to periodically query the destinationEvaluationFilter for its calculated destination anchor. If the determined anchor is different from the current destinationAnchor, the volume will initiate re-evaluation of the destination anchor.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)