#include <ComposableCameraTwoPointMoveNode.h>
Inherits:
UComposableCameraCameraNodeBase
Moves the camera from SourceTransform to TargetTransform over Duration.
The node resets its internal elapsed time on initialization. Each tick it computes normalized time, samples Curve when present, clamps the sampled alpha to [0, 1], linearly interpolates position, and spherically interpolates rotation. If Duration is zero, the target transform is used immediately.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
FTransform |
SourceTransform |
Transform used at normalized time 0. |
FTransform |
TargetTransform |
Transform used at normalized time 1 and held after Duration. |
TObjectPtr< UCurveFloat > |
Curve |
Optional float curve sampled with X in [0, 1]; the returned value is clamped to [0, 1] and used as interpolation alpha. |
float |
Duration |
Seconds spent moving from SourceTransform to TargetTransform. |
SourceTransform¶
FTransform SourceTransform { FTransform::Identity }
Transform used at normalized time 0.
TargetTransform¶
FTransform TargetTransform { FTransform::Identity }
Transform used at normalized time 1, and held after Duration.
Curve¶
TObjectPtr< UCurveFloat > Curve { nullptr }
Curve sampled with X in [0, 1]. The returned value is clamped to [0, 1].
Duration¶
float Duration { 1.f }
Seconds spent moving from SourceTransform to TargetTransform.
Public Methods¶
| Return | Name | Description |
|---|---|---|
UComposableCameraTwoPointMoveNode |
Sets the palette category to Position. |
|
void |
OnInitialize_Implementation virtual |
Resets elapsed time. |
void |
OnTickNode_Implementation virtual |
Applies the two-point move to the camera pose. |
void |
GetPinDeclarations_Implementation virtual |
Declares input pins for Source Transform, Target Transform, Curve, and Duration. |
EComposableCameraNodePatchCompatibility |
GetPatchCompatibility_Implementation virtual |
Returns Incompatible. |
UComposableCameraTwoPointMoveNode¶
UComposableCameraTwoPointMoveNode()
OnInitialize_Implementation¶
virtual
void OnInitialize_Implementation()
OnTickNode_Implementation¶
virtual
void OnTickNode_Implementation(float DeltaTime, const FComposableCameraPose& CurrentCameraPose, FComposableCameraPose& OutCameraPose)
GetPinDeclarations_Implementation¶
virtual
void GetPinDeclarations_Implementation(TArray<FComposableCameraNodePinDeclaration>& OutPins) const
GetPatchCompatibility_Implementation¶
virtual
EComposableCameraNodePatchCompatibility GetPatchCompatibility_Implementation() const