There is no spoon

UE3:ForceFeedbackManager (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> ForceFeedbackManager
Package: 
Engine
Within class: 
PlayerController
This class in other games:
UT3

This class handles various waveform activities. It manages the waveform data that is being played on any given gamepad at any given time. It is called by the player controller to start/stop/pause a waveform for a given gamepad. It is queried by the Viewport to get the current rumble state information to apply that to the gamepad. It does this by evaluating the function defined in the waveform sample data.

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

bAllowsForceFeedback

Type: bool

Whether the player has disabled gamepad rumble or not (TCR C5-3)

Default value: True

bIsPaused

Type: bool

Whether it was paused by the player controller or not

CurrentSample

Type: int

The current waveform sample being played

ElapsedTime

Type: float

The amount of time elapsed since the start of this waveform

FFWaveform

Type: ForceFeedbackWaveform

The currently playing waveform

ScaleAllWaveformsBy

Type: float

The amount to scale all waveforms by (user settable) (TCR C5-3)

Default value: 1.0

Instance functions

PauseWaveform

simulated function PauseWaveform (optional bool bPause)

Pauses/unpauses the playback of the waveform for the gamepad

Parameters:

  • bPause - True to pause, False to resume

PlayForceFeedbackWaveform

simulated function PlayForceFeedbackWaveform (ForceFeedbackWaveform Waveform)

Sets the waveform to play for the gamepad

Parameters:

  • ForceFeedbackWaveform - The waveform data to play

StopForceFeedbackWaveform

simulated function StopForceFeedbackWaveform (optional ForceFeedbackWaveform Waveform)

Stops the waveform by nulling out the waveform