docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    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
    IAttachPointVelocityProvider.GetAttachPointVelocity()
    IAttachPointVelocityProvider.GetAttachPointAngularVelocity()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Interaction
    Assembly: solution.dll
    Syntax
    public interface IAttachPointVelocityTracker : IAttachPointVelocityProvider

    Methods

    Name Description
    UpdateAttachPointVelocityData(Transform)

    Updates attach point velocity data using only the attachment transform.

    UpdateAttachPointVelocityData(Transform, Transform)

    Updates attach point velocity data using the attachment transform and an XR Origin Transform.

    Extension Methods

    AttachPointVelocityProviderExtensions.GetAttachPointAngularVelocity(IAttachPointVelocityProvider, Transform)
    AttachPointVelocityProviderExtensions.GetAttachPointVelocity(IAttachPointVelocityProvider, Transform)

    See Also

    AttachPointVelocityTracker
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)