using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.XR.Interaction.Toolkit.Attachment
{
///
/// 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.
///
///
[MovedFrom("UnityEngine.XR.Interaction.Toolkit.Interaction")]
public interface IAttachPointVelocityTracker : IAttachPointVelocityProvider
{
///
/// Updates attach point velocity data using only the attachment transform.
///
/// The transform of the attachment point.
void UpdateAttachPointVelocityData(Transform attachTransform);
///
/// Updates attach point velocity data using the attachment transform and an XR Origin Transform.
///
/// The transform of the attachment point.
/// The XR Origin Transform for relative calculations.
void UpdateAttachPointVelocityData(Transform attachTransform, Transform xrOriginTransform);
}
}