Click or drag to resize

AnimationTransformTrackInterpolate Method

Returns the interpolated value of a transform track at a given time (in seconds). An array consisting of 3 elements: position (Vector3), rotation (Quat) and scale (Vector3).

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

Parameters

trackIdx
Type: SystemInt32

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

timeSec
Type: SystemSingle

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

Return Value

Type: Array

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

See Also