UCameraShakeBase::GetCameraShakeBlendTimes

Gets the default blend in/out durations for camera shakes of the given class.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h

Include

#include "Camera/CameraShakeBase.h"

Syntax

static bool GetCameraShakeBlendTimes
(
    TSubclassOf< UCameraShakeBase > CameraShakeClass,
    float & OutBlendIn,
    float & OutBlendOut
)

Remarks

Gets the default blend in/out durations for camera shakes of the given class.

Returns

Whether valid default blend in/out times were found

Parameters

Parameter

Description

CameraShakeClass

The class of camera shake

OutBlendIn

Will store the default blend-in time of the given camera shake class, if possible

OutBlendOut

Will store the default blend-out time of the given camera shake class, if possible