Interface ITeleportationVolumeAnchorFilter
Interface for filtering a list of anchors for a TeleportationMultiAnchorVolume to designate one as the destination anchor.
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion.Teleportation
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface ITeleportationVolumeAnchorFilter
Methods
GetDestinationAnchorIndex(TeleportationMultiAnchorVolume)
Called by the teleportationVolume to designate an anchor as the teleportation destination.
Declaration
int GetDestinationAnchorIndex(TeleportationMultiAnchorVolume teleportationVolume)
Parameters
| Type | Name | Description |
|---|---|---|
| TeleportationMultiAnchorVolume | teleportationVolume | The volume that is designating a destination anchor. |
Returns
| Type | Description |
|---|---|
| int | Returns the index of the transform in the |