Click or drag to resize

SpriteFramesAddFrame Method

Adds a frame to the given animation.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddFrame(
	string anim,
	Texture frame,
	int atPosition = -1
)

Parameters

anim
Type: SystemString

[Missing <param name="anim"/> documentation for "M:Godot.SpriteFrames.AddFrame(System.String,Godot.Texture,System.Int32)"]

frame
Type: GodotTexture

[Missing <param name="frame"/> documentation for "M:Godot.SpriteFrames.AddFrame(System.String,Godot.Texture,System.Int32)"]

atPosition (Optional)
Type: SystemInt32

[Missing <param name="atPosition"/> documentation for "M:Godot.SpriteFrames.AddFrame(System.String,Godot.Texture,System.Int32)"]

See Also