Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Camera > API/Runtime/Engine/Camera/FCameraAnimationHelper > API/Runtime/Engine/Camera/FCameraAnimationHelper/ApplyOffset
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Camera/CameraAnimationHelper.h |
| Include | #include "Camera/CameraAnimationHelper.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraAnimationHelper.cpp |
static void ApplyOffset
&40;
const FMatrix & UserPlaySpaceMatrix,
const FMinimalViewInfo & InPOV,
const FCameraAnimationHelperOffset & InOffset,
FVector & OutLocation,
FRotator & OutRotation
&41;
Remarks
Apply an offset to a camera transform in the given space, and get the resulting world-space info.
Parameters
| Name | Description |
|---|---|
| UserPlaySpaceMatrix | The coordinate system in which to apply the offset |
| InPOV | The current camera transform |
| InOffset | The offset to apply |
| OutResult | The world-space transform of the offset camera |