unreal.TViewTarget

class unreal.TViewTarget(target=None, pov=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], 90.0, 512.0, 0.0, 2097152.0, 1.333333, False, True, CameraProjectionMode.PERSPECTIVE, 0.0, [], [0.0, 0.0]], player_state=None)

Bases: unreal.StructBase

A ViewTarget is the primary actor the camera is associated with.

C++ Source:

  • Module: Engine

  • File: PlayerCameraManager.h

Editor Properties: (see get_editor_property/set_editor_property)

  • player_state (PlayerState): [Read-Write] PlayerState (used to follow same player through pawn transitions, etc., when spectating)

  • pov (MinimalViewInfo): [Read-Write] Computed point of view

  • target (Actor): [Read-Write] Target Actor used to compute POV

property player_state

[Read-Write] PlayerState (used to follow same player through pawn transitions, etc., when spectating)

Type

(PlayerState)

property pov

[Read-Write] Computed point of view

Type

(MinimalViewInfo)

property target

[Read-Write] Target Actor used to compute POV

Type

(Actor)