#include <ComposableCameraDirectionalMoveNode.h>
Inherits:
UComposableCameraCameraNodeBase
Moves the camera from InitialTransform along a camera-space direction at a fixed speed. Negative Duration moves forever.
The node resets its internal elapsed time on initialization. Each tick it normalizes Direction, transforms it by InitialTransform's rotation, clamps elapsed time by Duration when Duration >= 0, writes InitialTransform.Location + WorldDirection * Speed * MoveTime to the pose, and writes InitialTransform's rotation to the pose.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
FVector |
Direction |
Direction in camera-local space. X is forward, Y is right, Z is up. The value is normalized at runtime. |
FTransform |
InitialTransform |
Starting transform. Its rotation converts Direction from camera space to world space. |
float |
Speed |
Movement speed in centimeters per second. |
float |
Duration |
Seconds spent moving. Negative values move forever; zero holds InitialTransform. |
Direction¶
FVector Direction { FVector::ForwardVector }
Direction in camera-local space. X is forward, Y is right, Z is up. The value is normalized at runtime.
InitialTransform¶
FTransform InitialTransform { FTransform::Identity }
Starting transform for the continuous move.
Speed¶
float Speed { 100.f }
Movement speed in centimeters per second.
Duration¶
float Duration { -1.f }
Seconds spent moving. Negative values move forever; zero holds InitialTransform.
Public Methods¶
| Return | Name | Description |
|---|---|---|
UComposableCameraDirectionalMoveNode |
Sets the palette category to Position. |
|
void |
OnInitialize_Implementation virtual |
Resets elapsed time. |
void |
OnTickNode_Implementation virtual |
Applies the continuous move to the camera pose. |
void |
GetPinDeclarations_Implementation virtual |
Declares input pins for Direction, Initial Transform, Speed, and Duration. |
EComposableCameraNodePatchCompatibility |
GetPatchCompatibility_Implementation virtual |
Returns Incompatible. |
UComposableCameraDirectionalMoveNode¶
UComposableCameraDirectionalMoveNode()
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