#include <ComposableCameraAutoRotateNode.h>
Inherits:
UComposableCameraCameraNodeBase
Node for auto-rotating around a given "main direction." The main direction is supplied through the MainDirection input pin, typically wired from an upstream node (e.g. a compute node that reads character forward vector) or set as a context parameter override.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
FVector |
MainDirection |
|
FVector2D |
CameraRotationInput |
|
FVector2D |
YawRange |
|
FVector2D |
PitchRange |
|
bool |
bYawOnly |
|
float |
BeyondValidRangeCooldown |
|
float |
InputInterruptCooldown |
|
int32 |
MaxCountAfterInputInterrupt |
|
TObjectPtr< UComposableCameraInterpolatorBase > |
RotateInterpolatorForYaw |
|
TObjectPtr< UComposableCameraInterpolatorBase > |
RotateInterpolatorForPitch |
MainDirection¶
FVector MainDirection { FVector::ForwardVector }
CameraRotationInput¶
FVector2D CameraRotationInput { 0.f, 0.f }
YawRange¶
FVector2D YawRange { 0.f, 0.f }
PitchRange¶
FVector2D PitchRange { 0.f, 0.f }
bYawOnly¶
bool bYawOnly { true }
BeyondValidRangeCooldown¶
float BeyondValidRangeCooldown { 0.f }
InputInterruptCooldown¶
float InputInterruptCooldown { 0.f }
MaxCountAfterInputInterrupt¶
int32 MaxCountAfterInputInterrupt { -1 }
RotateInterpolatorForYaw¶
TObjectPtr< UComposableCameraInterpolatorBase > RotateInterpolatorForYaw
RotateInterpolatorForPitch¶
TObjectPtr< UComposableCameraInterpolatorBase > RotateInterpolatorForPitch
Public Methods¶
| Return | Name | Description |
|---|---|---|
void |
OnInitialize_Implementation virtual |
|
void |
OnTickNode_Implementation virtual |
|
void |
GetPinDeclarations_Implementation virtual const |
OnInitialize_Implementation¶
virtual
virtual void OnInitialize_Implementation()
OnTickNode_Implementation¶
virtual
virtual void OnTickNode_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose, FComposableCameraPose & OutCameraPose)
GetPinDeclarations_Implementation¶
virtual const
virtual void GetPinDeclarations_Implementation(TArray< FComposableCameraNodePinDeclaration > & OutPins) const
Private Attributes¶
| Return | Name | Description |
|---|---|---|
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< double > > > |
InterpolatorYaw_T |
|
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< double > > > |
InterpolatorPitch_T |
|
bool |
bInAutoRotate |
|
float |
BeyondValidRangeCooldownRemaining |
|
float |
InputInterruptCooldownRemaining |
|
int32 |
UsedCountAfterInputInterrupt |
InterpolatorYaw_T¶
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< double > > > InterpolatorYaw_T
InterpolatorPitch_T¶
TUniquePtr< TCameraInterpolator< TValueTypeWrapper< double > > > InterpolatorPitch_T
bInAutoRotate¶
bool bInAutoRotate { false }
BeyondValidRangeCooldownRemaining¶
float BeyondValidRangeCooldownRemaining { 0.f }
InputInterruptCooldownRemaining¶
float InputInterruptCooldownRemaining { 0.f }
UsedCountAfterInputInterrupt¶
int32 UsedCountAfterInputInterrupt { 0 }
Private Methods¶
| Return | Name | Description |
|---|---|---|
std::pair< bool, bool > |
CheckIfInValidRange |
CheckIfInValidRange¶
std::pair< bool, bool > CheckIfInValidRange(const FVector2D & ValidRangeYaw, const FVector2D & ValidRangePitch, const FRotator & Rotation)