unreal.AttachToPlayerPawnCameraNode

class unreal.AttachToPlayerPawnCameraNode(outer: Object | None = None, name: Name | str = 'None')

Bases: CameraNode

A camera node that moves the camera to the player pawn.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: AttachToPlayerPawnCameraNode.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attach_to_location (BooleanCameraParameter): [Read-Write] Whether to move the camera to the pawn’s location.

  • attach_to_rotation (BooleanCameraParameter): [Read-Write] Whether to align the camera rotation to the pawn’s orientation.

  • bone_name (Name): [Read-Write] An optional bone to attach to on the actor.

  • is_enabled (bool): [Read-Write] Specifies whether this node is enabled.

  • socket_name (Name): [Read-Write] An optional socket to attach to on the actor.

property bone_name: Name

[Read-Write] An optional bone to attach to on the actor.

Type:

(Name)

property socket_name: Name

[Read-Write] An optional socket to attach to on the actor.

Type:

(Name)