docs.unity3d.com
    目次を表示する/隠す

    Interface IDualShockHaptics

    Extended haptics interface for DualShock controllers.

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

    Methods

    SetLightBarColor(Color)

    Set the color of the light bar on the back of the controller.

    Declaration
    void SetLightBarColor(Color color)
    Parameters
    Type Name Description
    Color color

    Color to use for the light bar. Alpha component is ignored. Also, RBG values are clamped into [0..1] range.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)