HorizonTweenPlugin
4.17.0
|
The goal of thie plugin is to provide on the fly tweening animation for UE4 with full control of tween event.
Please check DemoProject for how to use this plugin.
Support Email: dorgo nman @hotm ail. com
Blog: http://dorgon.horizon-studio.net/
UE4 MarketPlace: https://www.unrealengine.com/marketplace/profile/dorgon%20chang
For Blueprint user, you can bind event this way:
For Plugin Version after 1.2.0 ( or engine version 4.15.0 ) , you can also use Proxy creation version in Blueprint, like following image:
You can see there has two BP node, first one is old method, you can still create tween event with this method, but second BP node are more convenient, because it already has OnTweenStart, OnTweenUpdate, OnTweenLoop, OnTweenFinished callback pin that you don't need to bind callback event manually. You can find those method by right click in EventGraph, all tween creation method put under HorizonPlugin|TweenSystemProxy category.
For C++ user, you can bind Callback using following method: Check all supported callback binding method here
Sample Code:
Basically they are doing samething that you can use both method to create same function, like following picture:
The difference is that HorizonTweenSystemProxy can be only used in blueprint, it is inheritated from BlueprintAsyncActionBase (with clock mark ) that bind all default callback for you. It is convenient for BP user in some case, but like other AsyncNode in ue4, it can only be acessed from BP Event Graph. If you want to use plugin in C++ or BP function, please use HorizonTweenSystem instead.
Following picture shows BP category that you can find those async proxy node in BP:
Currently, following LerpMode will use LerpModeExtraParameterList's Last Parameter in it's lerp algorithm: InterpEaseIn, InterpEaseOut, InterpEaseInOut, ElasticIn, ElasticOut, ElasticInOut(other mode will simply ignore this parameter)