Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A camera node that moves the camera to the player pawn.
| Name | UAttachToPlayerPawnCameraNode |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Nodes/Attach/AttachToPlayerPawnCameraNode.h |
| Include Path | #include "Nodes/Attach/AttachToPlayerPawnCameraNode.h" |
Syntax
UCLASS (MinimalAPI, Meta=(CameraNodeCategories="Attachment"))
class UAttachToPlayerPawnCameraNode : public UCameraNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCameraNode → UAttachToPlayerPawnCameraNode
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttachToLocation | FBooleanCameraParameter | Whether to move the camera to the pawn's location. | Nodes/Attach/AttachToPlayerPawnCameraNode.h |
|
| AttachToRotation | FBooleanCameraParameter | Whether to align the camera rotation to the pawn's orientation. | Nodes/Attach/AttachToPlayerPawnCameraNode.h |
|
| BoneName | FName | An optional bone to attach to on the actor. | Nodes/Attach/AttachToPlayerPawnCameraNode.h |
|
| SocketName | FName | An optional socket to attach to on the actor. | Nodes/Attach/AttachToPlayerPawnCameraNode.h |
|
Functions
Protected
Overridden from UCameraNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FCameraNodeEvaluatorPtr OnBuildEvaluator
(
FCameraNodeEvaluatorBuilder& Builder |
Builds the evaluator for this node. | Nodes/Attach/AttachToPlayerPawnCameraNode.h |