Class TeleportVolumeDestinationSettings
Settings for evaluating the destination anchor for a TeleportationMultiAnchorVolume.
Inherited Members
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. |