Click or drag to resize

AnimationAddTrack Method

Adds a track to the Animation.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int AddTrack(
	AnimationTrackType type,
	int atPosition = -1
)

Parameters

type
Type: GodotAnimationTrackType

[Missing <param name="type"/> documentation for "M:Godot.Animation.AddTrack(Godot.Animation.TrackType,System.Int32)"]

atPosition (Optional)
Type: SystemInt32

[Missing <param name="atPosition"/> documentation for "M:Godot.Animation.AddTrack(Godot.Animation.TrackType,System.Int32)"]

Return Value

Type: Int32

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

See Also