Click or drag to resize
Ab4d.SharpEngine logo

AnimationTConstructAnimationTrackTProperty, TInfoProperty Method

Helper for constructing final animation track from list of keyframe info entries and animation parameters.

Namespace: Ab4d.SharpEngine.Animation
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
protected static void ConstructAnimationTrack<TProperty, TInfoProperty>(
	KeyframesTrack<TProperty> track,
	TProperty initialValue,
	List<KeyframeInfo<TInfoProperty>> keyframeInfoList,
	Func<KeyframeInfo<TInfoProperty>, float, Keyframe<TProperty>> createKeyframeFunc
)
where TProperty : struct, new()
where TInfoProperty : struct, new()

Parameters

track  KeyframesTrackTProperty
initialValue  TProperty
keyframeInfoList  ListKeyframeInfoTInfoProperty
createKeyframeFunc  FuncKeyframeInfoTInfoProperty, Single, KeyframeTProperty

Type Parameters

TProperty
Type of animated property value.
TInfoProperty
Type of animated property info value. Might be different from actual property value type.
Exceptions
ExceptionCondition
Exception
See Also