| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Core.Object | +-- Engine.CameraModifier | +-- UTGame.DemoCamMod_ScreenShake
| Constants Summary |
|---|
| Inherited Contants from Core.Object |
|---|
| DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg |
| Variables Summary | |
|---|---|
| Array<ScreenShakeStruct> | Shakes |
| DemoCamMod_ScreenShake | |
| ScreenShakeStruct | TestShake |
| Inherited Variables from Engine.CameraModifier |
|---|
| bDebug, bDisabled, bPendingDisable, CameraOwner |
| Inherited Variables from Core.Object |
|---|
| Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject |
| Enumerations Summary | ||
|---|---|---|
| EShakeParam ESP_OffsetRandom, ESP_OffsetZero, | ||
| Inherited Enumerations from Core.Object |
|---|
| EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup |
| Structures Summary | ||
|---|---|---|
| ScreenShakeStruct TimeToGo, TimeDuration, RotAmplitude, RotFrequency, RotSinOffset, RotParam, LocAmplitude, LocFrequency, LocSinOffset, LocParam, FOVAmplitude, FOVFrequency, FOVSinOffset, FOVParam | ||
| ShakeParams X, Y, Z, Padding | ||
| Functions Summary | ||
|---|---|---|
![]() | AddScreenShake (ScreenShakeStruct NewShake )) | |
![]() | ScreenShakeStruct | ComposeNewShake (float Duration, vector newRotAmplitude, vector newRotFrequency, vector newLocAmplitude, vector newLocFrequency, float newFOVAmplitude, float newFOVFrequency
)) |
![]() | DumpShakeInfo (ScreenShakeStruct Shake )) | |
![]() | float | InitializeOffset (EShakeParam Param )) |
![]() | ScreenShakeStruct | InitializeShake (ScreenShakeStruct NewShake )) |
![]() | bool | ModifyCamera (Camera Camera, float DeltaTime, out TPOV OutPOV
)) |
![]() | StartNewShake (float Duration, vector newRotAmplitude, vector newRotFrequency, vector newLocAmplitude, vector newLocFrequency, float newFOVAmplitude, float newFOVFrequency
)) | |
![]() | UpdateScreenShake (float DeltaTime, out ScreenShakeStruct Shake, out TPOV OutPOV) | |
| Inherited Functions from Engine.CameraModifier |
|---|
| AddCameraModifier, DisableModifier, EnableModifier, Init, IsDisabled, ModifyCamera, ProcessViewRotation, RemoveCameraModifier, ToggleModifier |
| Variables Detail |
|---|
Active ScreenShakes array
Always active ScreenShake for testing purposes
| Enumerations Detail |
|---|
Shake start offset parameter
| Structures Detail |
|---|
var(DemoCamMod_ScreenShake) float FOVAmplitude;};
var(DemoCamMod_ScreenShake) float FOVFrequency;
var(DemoCamMod_ScreenShake) EShakeParam FOVParam;
var float FOVSinOffset;
var(DemoCamMod_ScreenShake) vector LocAmplitude;
var(DemoCamMod_ScreenShake) vector LocFrequency;
var(DemoCamMod_ScreenShake) ShakeParams LocParam;
var vector LocSinOffset;
var(DemoCamMod_ScreenShake) vector RotAmplitude;
var(DemoCamMod_ScreenShake) vector RotFrequency;
var(DemoCamMod_ScreenShake) ShakeParams RotParam;
var vector RotSinOffset;
var(DemoCamMod_ScreenShake) float TimeDuration;
var(DemoCamMod_ScreenShake) float TimeToGo;
FOVAmplitude:FOV amplitudeFOVFrequency:FOV frequencyFOVParam:FOV parametersFOVSinOffset:FOV Sine offsetLocAmplitude:view offset amplitudeLocFrequency:view offset frequencyLocParam:location parametersLocSinOffset:view offset Sine offsetRotAmplitude:view rotation amplitudeRotFrequency:view rotation frequencyRotParam:rotation parametersRotSinOffset:view rotation Sine offsetTimeDuration:Duration in seconds of current screen shakeTimeToGo:Time in seconds to go until current screen shake is finished
var transient const byte Padding;};
var(DemoCamMod_ScreenShake) EShakeParam X;
var(DemoCamMod_ScreenShake) EShakeParam Y;
var(DemoCamMod_ScreenShake) EShakeParam Z;
Shake vector params
| Functions Detail |
|---|
AddScreenShake Source codeAdd a new screen shake to the list
ComposeNewShake Source codeComposeNewShake Take Screen Shake parameters and create a new ScreenShakeStruct variable
@param Duration Duration in seconds of shake
@param newRotAmplitude view rotation amplitude (pitch,yaw,roll)
@param newRotFrequency frequency of rotation shake
@param newLocAmplitude relative view offset amplitude (x,y,z)
@param newLocFrequency frequency of view offset shake
@param newFOVAmplitude fov shake amplitude
@param newFOVFrequency fov shake frequency
DumpShakeInfo Source code
InitializeOffset Source codeInitialize sin wave start offset
InitializeShake Source codeInitialize screen shake structure
ModifyCamera Source code@see CameraModifer::ModifyCamera
StartNewShake Source codeStartNewShake
@param Duration Duration in seconds of shake
@param newRotAmplitude view rotation amplitude (pitch,yaw,roll)
@param newRotFrequency frequency of rotation shake
@param newLocAmplitude relative view offset amplitude (x,y,z)
@param newLocFrequency frequency of view offset shake
@param newFOVAmplitude fov shake amplitude
@param newFOVFrequency fov shake frequency
UpdateScreenShake Source codeUpdate a ScreenShake
| Defaultproperties |
|---|
defaultproperties
{
TestShake=(TimeDuration=1.000000,RotAmplitude=(X=100.000000,Y=100.000000,Z=200.000000),RotFrequency=(X=10.000000,Y=10.000000,Z=25.000000),LocAmplitude=(X=0.000000,Y=3.000000,Z=5.000000),LocFrequency=(X=1.000000,Y=10.000000,Z=20.000000),FOVAmplitude=2.000000,FOVFrequency=5.000000)
Name="Default__DemoCamMod_ScreenShake"
ObjectArchetype=CameraModifier'Engine.Default__CameraModifier'
}
|
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||