Click or drag to resize

AnimationValueTrackInterpolate Method

Returns the interpolated value at the given time (in seconds). The track_idx must be the index of a value track.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object ValueTrackInterpolate(
	int trackIdx,
	float timeSec
)

Parameters

trackIdx
Type: SystemInt32

[Missing <param name="trackIdx"/> documentation for "M:Godot.Animation.ValueTrackInterpolate(System.Int32,System.Single)"]

timeSec
Type: SystemSingle

[Missing <param name="timeSec"/> documentation for "M:Godot.Animation.ValueTrackInterpolate(System.Int32,System.Single)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Animation.ValueTrackInterpolate(System.Int32,System.Single)"]

See Also