C# 클래스 Project290.Inputs.RumblePack

This is used for rumbling the physical controller.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
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