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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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

[Missing <param name="track"/> documentation for "M:Ab4d.SharpEngine.Animation.Animation`1.ConstructAnimationTrack``2(Ab4d.SharpEngine.Animation.KeyframesTrack{``0},``0,System.Collections.Generic.List{Ab4d.SharpEngine.Animation.KeyframeInfo{``1}},System.Func{Ab4d.SharpEngine.Animation.KeyframeInfo{``1},System.Single,Ab4d.SharpEngine.Animation.Keyframe{``0}})"]

initialValue  TProperty

[Missing <param name="initialValue"/> documentation for "M:Ab4d.SharpEngine.Animation.Animation`1.ConstructAnimationTrack``2(Ab4d.SharpEngine.Animation.KeyframesTrack{``0},``0,System.Collections.Generic.List{Ab4d.SharpEngine.Animation.KeyframeInfo{``1}},System.Func{Ab4d.SharpEngine.Animation.KeyframeInfo{``1},System.Single,Ab4d.SharpEngine.Animation.Keyframe{``0}})"]

keyframeInfoList  ListKeyframeInfoTInfoProperty

[Missing <param name="keyframeInfoList"/> documentation for "M:Ab4d.SharpEngine.Animation.Animation`1.ConstructAnimationTrack``2(Ab4d.SharpEngine.Animation.KeyframesTrack{``0},``0,System.Collections.Generic.List{Ab4d.SharpEngine.Animation.KeyframeInfo{``1}},System.Func{Ab4d.SharpEngine.Animation.KeyframeInfo{``1},System.Single,Ab4d.SharpEngine.Animation.Keyframe{``0}})"]

createKeyframeFunc  FuncKeyframeInfoTInfoProperty, Single, KeyframeTProperty

[Missing <param name="createKeyframeFunc"/> documentation for "M:Ab4d.SharpEngine.Animation.Animation`1.ConstructAnimationTrack``2(Ab4d.SharpEngine.Animation.KeyframesTrack{``0},``0,System.Collections.Generic.List{Ab4d.SharpEngine.Animation.KeyframeInfo{``1}},System.Func{Ab4d.SharpEngine.Animation.KeyframeInfo{``1},System.Single,Ab4d.SharpEngine.Animation.Keyframe{``0}})"]

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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Animation.Animation`1.ConstructAnimationTrack``2(Ab4d.SharpEngine.Animation.KeyframesTrack{``0},``0,System.Collections.Generic.List{Ab4d.SharpEngine.Animation.KeyframeInfo{``1}},System.Func{Ab4d.SharpEngine.Animation.KeyframeInfo{``1},System.Single,Ab4d.SharpEngine.Animation.Keyframe{``0}})"]

See Also