Click or drag to resize

SpriteFramesSetFrame Method

Sets the texture of the given frame.

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

Parameters

anim
Type: SystemString

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

idx
Type: SystemInt32

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

txt
Type: GodotTexture

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

See Also