Click or drag to resize

AnimationTrackFindKey Method

Finds the key index by time in a given track. Optionally, only find it if the exact time is given.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int TrackFindKey(
	int trackIdx,
	float time,
	bool exact = false
)

Parameters

trackIdx
Type: SystemInt32

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

time
Type: SystemSingle

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

exact (Optional)
Type: SystemBoolean

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

Return Value

Type: Int32

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

See Also