Cogito, ergo sum
UE3:CameraModifier_CameraShake (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> CameraModifier >> CameraModifier_CameraShake |
Contents
- Package:
- Engine
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Camera modifier that provides support for code-based oscillating camera shakes.
Properties[edit]
Property group 'CameraModifier_CameraShake'[edit]
SplitScreenShakeScale[edit]
Type: float
Modifiers: protected, const
Scalar applied to all camera shakes in splitscreen. Normally used to dampen, since shakes feel more intense in a smaller viewport.
Default value: 0.5
Internal variables[edit]
ActiveShakes[edit]
Type: array<CameraShakeInstance>
Active CameraShakes array
Structs[edit]
CameraShakeInstance[edit]
Modifiers: native
- CameraShake SourceShake
- source shake
- float OscillatorTimeRemaining
- <0.f means play infinitely.
- bool bBlendingIn
- blend vars
- float CurrentBlendInTime
- bool bBlendingOut
- float CurrentBlendOutTime
- Object.Vector LocSinOffset
- Current offsets.
- Object.Vector RotSinOffset
- float FOVSinOffset
- float Scale
- CameraAnimInst AnimInst
- Camera.ECameraAnimPlaySpace PlaySpace
- What space to play the shake in before applying to the camera. Affects Anim and Oscillation both.
- Object.Matrix UserPlaySpaceMatrix
- Matrix defining the playspace, used when PlaySpace == CAPS_UserDefined
Functions[edit]
Static functions[edit]
InitializeOffset[edit]
static protected function float InitializeOffset (const out CameraShake.FOscillator Param)
Native functions[edit]
ModifyCamera[edit]
Overrides: CameraModifier.ModifyCamera
See: CameraModifer::ModifyCamera
UpdateCameraShake[edit]
native function UpdateCameraShake (float DeltaTime, out CameraShakeInstance Shake, out Object.TPOV OutPOV)
Update a CameraShake
Other instance functions[edit]
AddCameraShake[edit]
function AddCameraShake (CameraShake NewShake, float Scale, optional Camera.ECameraAnimPlaySpace PlaySpace, optional Object.Rotator UserPlaySpaceRot)
Add a new screen shake to the list
InitializeShake[edit]
function protected CameraShakeInstance InitializeShake (CameraShake NewShake, float Scale, Camera.ECameraAnimPlaySpace PlaySpace, optional Object.Rotator UserPlaySpaceRot)
Initialize camera shake structure
ReinitShake[edit]
RemoveAllCameraShakes[edit]
function RemoveAllCameraShakes ()
RemoveCameraShake[edit]
function RemoveCameraShake (CameraShake Shake)