Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 |
/** * This class manages the waveform data for a forcefeedback device, * specifically for the xbox gamepads. * * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class ForceFeedbackWaveform extends Object noexport native editinlinenew; /** The type of function that generates the waveform sample */ enum EWaveformFunction { WF_Constant, WF_LinearIncreasing, WF_LinearDecreasing, WF_Sin0to90, WF_Sin90to180, WF_Sin0to180, WF_Noise }; /** Holds a single sample's information */ struct native WaveformSample { /** * 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. */ var() byte LeftAmplitude; var() byte RightAmplitude; /** For function generated samples, the type of function */ var() EWaveformFunction LeftFunction; var() EWaveformFunction RightFunction; /** The amount of time this sample plays */ var() float Duration; }; /** Whether this waveform should be looping or not */ var() bool bIsLooping; /** The list of samples that make up this waveform */ var() array<WaveformSample> Samples; defaultproperties { Name="Default__ForceFeedbackWaveform" ObjectArchetype=Object'Core.Default__Object' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |