Class TeleportVolumeDestinationSettings
Settings for evaluating the destination anchor for a Teleportation
Inherited Members
Namespace: UnityEngine .XR.Interaction.Toolkit.Locomotion.Teleportation
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[Serializable]
[MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
public class TeleportVolumeDestinationSettings
Properties
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 enable
Declaration
public float destinationEvaluationDelayTime { get; set; }
Property Value
Type | Description |
---|---|
float |
See Also
destinationEvaluationFilter
The filter used to evaluate a teleportation destination from the list of anchors. If this is null,
the volume will use a Furthest
Declaration
public ITeleportationVolumeAnchorFilter destinationEvaluationFilter { get; set; }
Property Value
Type | Description |
---|---|
ITeleportation |
destinationFilterObject
The object reference to the filter used to evaluate a teleportation destination. This object should implement
the ITeleportation
Declaration
public Object destinationFilterObject { get; set; }
Property Value
Type | Description |
---|---|
Object |
Remarks
To access and modify the destination filter at runtime, the destination
destinationPollFrequency
The amount of time, in seconds, between queries to the destination
Declaration
public float destinationPollFrequency { get; set; }
Property Value
Type | Description |
---|---|
float |
See Also
enableDestinationEvaluationDelay
Whether to delay evaluation of the destination anchor until the user has hovered over the volume for a certain amount of time.
Declaration
public bool enableDestinationEvaluationDelay { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
pollForDestinationChange
Whether to periodically query the destination
Declaration
public bool pollForDestinationChange { get; set; }
Property Value
Type | Description |
---|---|
bool |