Navigation
API > API/Plugins > API/Plugins/GameplayCameras
An evaluation service that manages the player's control rotation based on what's going on with cameras.
| Name | FPlayerControlRotationEvaluationService |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Services/PlayerControlRotationService.h |
| Include Path | #include "Services/PlayerControlRotationService.h" |
Syntax
class FPlayerControlRotationEvaluationService : public UE::Cameras::FCameraEvaluationService
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FCameraEvaluationService → FPlayerControlRotationEvaluationService
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Create a new player control rotation service. | Services/PlayerControlRotationService.h | ||
FPlayerControlRotationEvaluationService
(
const FPlayerControlRotationParams& InParams |
Create a new player control rotation service, setting its parameters immediately. | Services/PlayerControlRotationService.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FCameraEvaluationService | Services/PlayerControlRotationService.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PrivateTypeID | const ::UE::Cameras::TCameraObjectTypeID< FPlayerControlRotationEvaluationService > | Services/PlayerControlRotationService.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisActionAngularSpeedGraph | TCameraDebugGraph< 1 > | Services/PlayerControlRotationService.h | ||
| AxisActionValueClock | FCameraDebugClock | Services/PlayerControlRotationService.h | ||
| AxisBindings | TArray< FEnhancedInputActionValueBinding * > | Services/PlayerControlRotationService.h | ||
| bDebugDidApplyControlRotation | bool | Services/PlayerControlRotationService.h | ||
| bIsFrozen | bool | Services/PlayerControlRotationService.h | ||
| CameraRotation | FRotator3d | Services/PlayerControlRotationService.h | ||
| CurrentControlRotation | FRotator3d | Services/PlayerControlRotationService.h | ||
| DebugFreezeReason | FString | Services/PlayerControlRotationService.h | ||
| DebugPawnTransform | FTransform | Services/PlayerControlRotationService.h | ||
| FrozenControlRotation | FRotator3d | Services/PlayerControlRotationService.h | ||
| PreviousAxisBindingValue | FVector2d | Services/PlayerControlRotationService.h | ||
| ServiceParams | FPlayerControlRotationParams | Services/PlayerControlRotationService.h | ||
| WeakInputComponent | TWeakObjectPtr< UEnhancedInputComponent > | Services/PlayerControlRotationService.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FRotator3d & GetCurrentControlRotation() |
Gets the last evaluated control rotation. | Services/PlayerControlRotationService.h | |
const FPlayerControlRotationParams & GetParameters() |
Gets the parameters for managing player control rotation. | Services/PlayerControlRotationService.h | |
bool IsControlRotationFrozen() |
Gets whether the control rotation was last frozen. | Services/PlayerControlRotationService.h | |
void SetParameters
(
const FPlayerControlRotationParams& InParams |
Sets the parameters for managing player control rotation. | Services/PlayerControlRotationService.h |
Overridden from FCameraEvaluationService
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FCameraObjectTypeID & GetTypeID() |
Services/PlayerControlRotationService.h | ||
virtual bool IsKindOf
(
const FCameraObjectTypeID& InTypeID |
Services/PlayerControlRotationService.h |
Protected
Overridden from FCameraEvaluationService
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnAddReferencedObjects
(
FReferenceCollector& Collector |
Collect referenced UObjects. | Services/PlayerControlRotationService.h | |
virtual void OnBuildDebugBlocks
(
const FCameraDebugBlockBuildParams& Params, |
Called to create debug blocks for this node evaluator. | Services/PlayerControlRotationService.h | |
virtual void OnPostUpdate
(
const FCameraEvaluationServiceUpdateParams& Params, |
Runs at the end of the camera system update. | Services/PlayerControlRotationService.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const ::UE::Cameras::TCameraObjectTypeID< FPlayerControlRotationEvaluationService > & StaticTypeID() |
Services/PlayerControlRotationService.h |