#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 |
|---|---|---|
class UEnhancedInputLocalPlayerSubsystem * |
Subsystem |
|
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > |
Interp_T |
Subsystem¶
class UEnhancedInputLocalPlayerSubsystem * Subsystem { nullptr }
Interp_T¶
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< FRotator > > > Interp_T