C# Класс Project290.Inputs.RumblePack

This is used for rumbling the physical controller.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Rumble ( float left, float right, long duration ) : void

Rumbles the controller for the specified forces for the specified duration in ticks.

RumblePack ( PlayerIndex playerIndex ) : System

Initializes a new instance of the RumblePack class.

Update ( ) : void

Updates this instance.

Описание методов

Rumble() публичный Метод

Rumbles the controller for the specified forces for the specified duration in ticks.
public Rumble ( float left, float right, long duration ) : void
left float The left motor force.
right float The right motor force.
duration long The duration in ticks.
Результат void

RumblePack() публичный Метод

Initializes a new instance of the RumblePack class.
public RumblePack ( PlayerIndex playerIndex ) : System
playerIndex PlayerIndex The playerIndex.
Результат System

Update() публичный Метод

Updates this instance.
public Update ( ) : void
Результат void