The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:ForceFeedbackWaveform (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> ForceFeedbackWaveform
Package: 
Engine
This class in other games:
UT3

This class manages the waveform data for a forcefeedback device, specifically for the xbox gamepads.

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

Properties[edit]

Property group 'ForceFeedbackWaveform'[edit]

bIsLooping[edit]

Type: bool

Whether this waveform should be looping or not

Samples[edit]

Type: array<WaveformSample>

The list of samples that make up this waveform

Enums[edit]

EWaveformFunction[edit]

The type of function that generates the waveform sample

WF_Constant 
WF_LinearIncreasing 
WF_LinearDecreasing 
WF_Sin0to90 
WF_Sin90to180 
WF_Sin0to180 
WF_Noise 

Structs[edit]

WaveformSample[edit]

Modifiers: native

Holds a single sample's information

byte LeftAmplitude 
Use a byte with a range of 0 to 100 to represent the percentage of

"on". This cuts the data needed to store the waveforms in half.

byte RightAmplitude 
EWaveformFunction LeftFunction 
For function generated samples, the type of function
EWaveformFunction RightFunction 
float Duration 
The amount of time this sample plays