Click or drag to resize

SpriteFramesGetFrame Method

Returns the animation's selected frame.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Texture GetFrame(
	string anim,
	int idx
)

Parameters

anim
Type: SystemString

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

idx
Type: SystemInt32

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

Return Value

Type: Texture

[Missing <returns> documentation for "M:Godot.SpriteFrames.GetFrame(System.String,System.Int32)"]

See Also