Click or drag to resize

TweenFactory.Tween Method (Object, Quaternion, Quaternion, Single, Func<Single, Single>, Action<ITween<Quaternion>>, Action<ITween<Quaternion>>)

Start and add a Quaternion tween

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static QuaternionTween Tween(
	Object key,
	Quaternion start,
	Quaternion end,
	float duration,
	Func<float, float> scaleFunc,
	Action<ITween<Quaternion>> progress,
	Action<ITween<Quaternion>> completion = null
)

Parameters

key
Type: System.Object
Key
start
Type: Quaternion
Start value
end
Type: Quaternion
End value
duration
Type: System.Single
Duration in seconds
scaleFunc
Type: System.Func<Single, Single>
Scale function
progress
Type: System.Action<ITween<Quaternion>>
Progress handler
completion (Optional)
Type: System.Action<ITween<Quaternion>>
Completion handler

Return Value

Type: QuaternionTween
QuaternionTween
See Also