UMatineeCameraShake::StartMatineeCameraShakeFromSource

Backwards compatible method used by core BP redirectors.

Windows
MacOS
Linux

References

Module

GameplayCameras

Header

/Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/MatineeCameraShake.h

Include

#include "MatineeCameraShake.h"

Source

/Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/MatineeCameraShake.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Camera Shakes")
static UMatineeCameraShake * StartMatineeCameraShakeFromSource
(
    APlayerCameraManager * PlayerCameraManager,
    TSubclassOf< UMatineeCameraShake > ShakeClass,
    UCameraShakeSourceComponent * SourceComponent,
    float Scale,
    ECameraShakePlaySpace PlaySpace,
    FRotator UserPlaySpaceRot
)

Remarks

Backwards compatible method used by core BP redirectors. This is needed because the return value is specifically a Matinee camera shake, which some BP logic often uses directly to set oscillator/anim properties.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss