Namespace UnityEngine.XR.Interaction.Toolkit.Attachment
Classes
AttachPointVelocityProviderExtensions
Extension methods for IAttachPointVelocityProvider.
AttachPointVelocityTracker
Tracks the velocity and angular velocity of an attachment point in an XR interaction context. It uses weighted linear regression to calculate velocities over a series of frames, providing smooth and accurate results.
InteractionAttachController
Manages and controls the anchor position for an XR interaction, handling how interactables snap and follow the interactor. It applies velocity-based scaling for anchor movements and supports stabilization options.
Interfaces
IAttachPointVelocityProvider
Interface defining the contract for providers that can supply attach point velocity data. This includes both linear velocity and angular velocity.
IAttachPointVelocityTracker
Interface defining the contract for trackers that can supply attach point velocity data and for updating that data. This includes both linear velocity and angular velocity.
IFarAttachProvider
Interface queried by an interactor when selecting an interactable to override how the interactor's attach transform should behave on far select.
IInteractionAttachController
Interface defining the control and behavior of an interaction anchor. It includes methods for creating and updating anchors, managing motion stabilization, and applying position and rotation offsets.
Enums
InteractableFarAttachMode
Controls how the interactor should adjust its attach transform on far select.
InteractorFarAttachMode
Controls the interactor's default behavior for how to adjust its attach transform on far select.
MotionStabilizationMode
Enum representing the stabilization mode for the anchor.