docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface IAttachPointVelocityProvider

    Interface defining the contract for providers that can supply attach point velocity data. This includes both linear velocity and angular velocity.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Interaction
    Assembly: solution.dll
    Syntax
    public interface IAttachPointVelocityProvider

    Methods

    Name Description
    GetAttachPointAngularVelocity()

    Retrieves the current angular velocity of the attachment point.

    GetAttachPointVelocity()

    Retrieves the current linear velocity of the attachment point.

    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)