unreal.ViewTargetTransitionParams

class unreal.ViewTargetTransitionParams(blend_time=0.0, blend_function=ViewTargetBlendFunction.VT_BLEND_CUBIC, blend_exp=2.0, lock_outgoing=False)

Bases: unreal.StructBase

A set of parameters to describe how to transition between view targets.

C++ Source:

  • Module: Engine
  • File: PlayerCameraManager.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_exp (float): [Read-Write] Exponent, used by certain blend functions to control the shape of the curve.
  • blend_function (ViewTargetBlendFunction): [Read-Write] Function to apply to the blend parameter.
  • blend_time (float): [Read-Write] Total duration of blend to pending view target. 0 means no blending.
  • lock_outgoing (bool): [Read-Write] If true, lock outgoing viewtarget to last frame’s camera POV for the remainder of the blend. This is useful if you plan to teleport the old viewtarget, but don’t want to affect the blend.
blend_exp

(float) – [Read-Write] Exponent, used by certain blend functions to control the shape of the curve.

blend_function

(ViewTargetBlendFunction) – [Read-Write] Function to apply to the blend parameter.

blend_time

(float) – [Read-Write] Total duration of blend to pending view target. 0 means no blending.

lock_outgoing

(bool) – [Read-Write] If true, lock outgoing viewtarget to last frame’s camera POV for the remainder of the blend. This is useful if you plan to teleport the old viewtarget, but don’t want to affect the blend.