quarta-feira, 6 de abril de 2016

BP Compendium: Set view target with blend

Set view target with blend


This feature is found in the PlayerController class. Very useful to switch the game view between different cameras.

Input

  • Target: Reference to a Player Controller.
  • New View Target:  Actor to set as view target. Usually a camera.
  • Blend Time: Time it takes to complete the blending.
  • Blend Func: Type of function for blending.


Example Usage

The event below belongs to a Level Blueprint and is triggered when the player enters a room. In this event the "Set View Target with Blend" function is used to change the game view for the camera that is in the room.

Click to enlarge