Interface IXboxOneRumble | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IXboxOneRumble

    Extended dual motor gamepad rumble that adds left and right trigger motors.

    Inherited Members
    IDualMotorRumble.SetMotorSpeeds(Single, Single)
    IHaptics.PauseHaptics()
    IHaptics.ResumeHaptics()
    IHaptics.ResetHaptics()
    Namespace: UnityEngine.InputSystem.XInput
    Syntax
    public interface IXboxOneRumble : IDualMotorRumble, IHaptics

    Methods

    SetMotorSpeeds(Single, Single, Single, Single)

    Declaration
    void SetMotorSpeeds(float lowFrequency, float highFrequency, float leftTrigger, float rightTrigger)
    Parameters
    Type Name Description
    System.Single lowFrequency
    System.Single highFrequency
    System.Single leftTrigger
    System.Single rightTrigger
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX