Interface 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.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Attachment
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[MovedFrom("UnityEngine.XR.Interaction.Toolkit.Interaction")]
public interface IAttachPointVelocityTracker : IAttachPointVelocityProvider
Methods
UpdateAttachPointVelocityData(Transform)
Updates attach point velocity data using only the attachment transform.
Declaration
void UpdateAttachPointVelocityData(Transform attachTransform)
Parameters
Type | Name | Description |
---|---|---|
Transform | attachTransform | The transform of the attachment point. |
See Also
UpdateAttachPointVelocityData(Transform, Transform)
Updates attach point velocity data using the attachment transform and an XR Origin Transform.
Declaration
void UpdateAttachPointVelocityData(Transform attachTransform, Transform xrOriginTransform)
Parameters
Type | Name | Description |
---|---|---|
Transform | attachTransform | The transform of the attachment point. |
Transform | xrOriginTransform | The XR Origin Transform for relative calculations. |