 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxprotected 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| Exception | Condition |
|---|
| Exception | |
See Also