|
AnimationTConstructAnimationTrackTProperty, TInfoProperty Method |
Helper for constructing final animation track from list of keyframe info entries and animation parameters.
Namespace: Ab4d.SharpEngine.AnimationAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax 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 See Also