#include <ComposableCameraRotateToAction.h>
Inherits:
UComposableCameraActionBase
Rotate camera to a given target rotation with some interpolator. If the camera rotates to the target rotation or there is user input, the action will expire.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
FRotator |
TargetRotation |
|
class UInputAction * |
RotateAction |
|
UComposableCameraInterpolatorBase * |
Interpolator |
|
float |
InterpSpeed |
TargetRotation¶
FRotator TargetRotation
RotateAction¶
class UInputAction * RotateAction { nullptr }
Interpolator¶
UComposableCameraInterpolatorBase * Interpolator { nullptr }
InterpSpeed¶
float InterpSpeed { 1.f }
Public Methods¶
| Return | Name | Description |
|---|---|---|
UComposableCameraRotateToAction |
||
bool |
CanExecute_Implementation virtual |
|
void |
OnExecute_Implementation virtual |
UComposableCameraRotateToAction¶
UComposableCameraRotateToAction(const FObjectInitializer & ObjectInitializer)
CanExecute_Implementation¶
virtual
virtual bool CanExecute_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose)
OnExecute_Implementation¶
virtual
virtual void OnExecute_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose, FComposableCameraPose & OutCameraPose)
Private Attributes¶
| Return | Name | Description |
|---|---|---|
TWeakObjectPtr< class UEnhancedInputLocalPlayerSubsystem > |
CachedSubsystem |
Weak subsystem cache — see ResetPitchAction. |
TWeakObjectPtr< class ULocalPlayer > |
CachedLocalPlayer |
LocalPlayer identity guard — see ResetPitchAction. |
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > |
Interp_T |
CachedSubsystem¶
TWeakObjectPtr< class UEnhancedInputLocalPlayerSubsystem > CachedSubsystem
Weak subsystem cache — see ResetPitchAction.
CachedLocalPlayer¶
TWeakObjectPtr< class ULocalPlayer > CachedLocalPlayer
LocalPlayer identity guard — see ResetPitchAction.
Interp_T¶
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > Interp_T
Private Methods¶
| Return | Name | Description |
|---|---|---|
class UEnhancedInputLocalPlayerSubsystem * |
ResolveInputSubsystem |
Resolve (or re-resolve) the cached subsystem. Same shape as UComposableCameraResetPitchAction::ResolveInputSubsystem — see that header for the LocalPlayer-teardown / chain-null / controller-swap-without-destruction rationale. |
ResolveInputSubsystem¶
class UEnhancedInputLocalPlayerSubsystem * ResolveInputSubsystem()
Resolve (or re-resolve) the cached subsystem. Same shape as UComposableCameraResetPitchAction::ResolveInputSubsystem — see that header for the LocalPlayer-teardown / chain-null / controller-swap-without-destruction rationale.