Class TeleportationAnchor
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public class TeleportationAnchor : BaseTeleportationInteractable
Properties
teleportAnchorTransform
The transform that represents the teleportation destination
Declaration
public Transform teleportAnchorTransform { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Methods
GenerateTeleportRequest(XRBaseInteractor, RaycastHit, ref TeleportRequest)
Declaration
protected override bool GenerateTeleportRequest(XRBaseInteractor interactor, RaycastHit raycastHit, ref TeleportRequest teleportRequest)
Parameters
Type | Name | Description |
---|---|---|
XRBaseInteractor | interactor | |
RaycastHit | raycastHit | |
TeleportRequest | teleportRequest |
Returns
Type | Description |
---|---|
Boolean |