#include <ComposableCameraPivotRotateNode.h>

Inherits: UComposableCameraCameraNodeBase

Synchronises the camera's rotation to a pivot actor's world rotation, with an authored offset and an optional rotator interpolator for damping.

Useful for vehicle / mount / vehicle-cockpit cameras where the camera should adopt the rig's heading (and optionally pitch / roll) but with a fixed relative offset (e.g. a slight downward tilt) and a smooth catch-up rather than a hard lock.

Compose semantics: target rotation is PivotActor.Quat * RotationOffset.Quat, i.e. the offset is applied in the pivot's LOCAL space — equivalent to authoring a child component attached to PivotActor with that relative rotation. This avoids the gimbal artifacts a raw FRotator add produces when the pivot has non-trivial pitch / roll.

@InputParameter PivotActor Source actor whose world rotation drives the target each frame. @InputParameter RotationOffset Local-space offset added on top of the pivot rotation.

Interpolator is an Instanced subobject — its inner properties surface as pins automatically via the base class's subobject-pin pipeline; no manual pin declaration needed.

Public Attributes

Return Name Description
TObjectPtr< AActor > PivotActor
FRotator RotationOffset
TObjectPtr< UComposableCameraInterpolatorBase > Interpolator

PivotActor

TObjectPtr< AActor > PivotActor

RotationOffset

FRotator RotationOffset { FRotator::ZeroRotator }

Interpolator

TObjectPtr< UComposableCameraInterpolatorBase > Interpolator

Public Methods

Return Name Description
UComposableCameraPivotRotateNode inline
void OnInitialize_Implementation virtual
void OnTickNode_Implementation virtual
void GetPinDeclarations_Implementation virtual const

UComposableCameraPivotRotateNode

inline

inline UComposableCameraPivotRotateNode()

OnInitialize_Implementation

virtual

virtual void OnInitialize_Implementation()

OnTickNode_Implementation

virtual

virtual void OnTickNode_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose, FComposableCameraPose & OutCameraPose)

GetPinDeclarations_Implementation

virtual const

virtual void GetPinDeclarations_Implementation(TArray< FComposableCameraNodePinDeclaration > & OutPins) const

Private Attributes

Return Name Description
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > Interpolator_T

Interpolator_T

TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > Interpolator_T