#include <ComposableCameraSetRotationNode.h>
Inherits:
UComposableCameraComputeNodeBase
Compute node that sets the initial camera rotation from an actor forward vector, an explicit forward vector, or a literal rotator during BeginPlay.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
EComposableCameraSetRotationSource |
RotationSource |
Selects where the replacement rotation comes from. |
EComposableCameraActorInputSource |
RotationActorSource |
Selects whether the actor source is explicit or the controller's controlled pawn. |
TObjectPtr< AActor > |
RotationActor |
Actor whose forward vector defines the replacement rotation. |
FVector |
RotationVector |
Forward vector used to build the replacement rotation. |
FRotator |
Rotation |
Literal replacement rotation. |
RotationSource¶
EComposableCameraSetRotationSource RotationSource { EComposableCameraSetRotationSource::FromRotator }
Selects where the replacement rotation comes from.
RotationActorSource¶
EComposableCameraActorInputSource RotationActorSource { EComposableCameraActorInputSource::ExplicitActor }
Selects whether the actor source is explicit or the controller's controlled pawn.
RotationActor¶
TObjectPtr< AActor > RotationActor { nullptr }
Actor whose forward vector defines the replacement rotation.
RotationVector¶
FVector RotationVector { FVector::ForwardVector }
Forward vector used to build the replacement rotation.
Rotation¶
FRotator Rotation { FRotator::ZeroRotator }
Literal replacement rotation.
Public Methods¶
| Return | Name | Description |
|---|---|---|
UComposableCameraBeginPlaySetRotationNode inline |
||
void |
ExecuteBeginPlay virtual |
Execute this compute node's one-shot work. |
void |
GetPinDeclarations_Implementation virtual const |
UComposableCameraBeginPlaySetRotationNode¶
inline
inline UComposableCameraBeginPlaySetRotationNode()
ExecuteBeginPlay¶
virtual
virtual void ExecuteBeginPlay()
Execute this compute node's one-shot work.
This node resolves the requested rotation source, then writes the owning camera's CameraPose.Rotation and LastFrameCameraPose.Rotation before the first TickCamera.
GetPinDeclarations_Implementation¶
virtual const
virtual void GetPinDeclarations_Implementation(TArray< FComposableCameraNodePinDeclaration > & OutPins) const