Click or drag to resize

TextureLayeredSetDataPartial Method

Partially sets the data for a specified layer by overwriting using the data of the specified image. x_offset and y_offset determine where the Image is "stamped" over the texture. The image must fit within the texture.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetDataPartial(
	Image image,
	int xOffset,
	int yOffset,
	int layer,
	int mipmap = 0
)

Parameters

image
Type: GodotImage

[Missing <param name="image"/> documentation for "M:Godot.TextureLayered.SetDataPartial(Godot.Image,System.Int32,System.Int32,System.Int32,System.Int32)"]

xOffset
Type: SystemInt32

[Missing <param name="xOffset"/> documentation for "M:Godot.TextureLayered.SetDataPartial(Godot.Image,System.Int32,System.Int32,System.Int32,System.Int32)"]

yOffset
Type: SystemInt32

[Missing <param name="yOffset"/> documentation for "M:Godot.TextureLayered.SetDataPartial(Godot.Image,System.Int32,System.Int32,System.Int32,System.Int32)"]

layer
Type: SystemInt32

[Missing <param name="layer"/> documentation for "M:Godot.TextureLayered.SetDataPartial(Godot.Image,System.Int32,System.Int32,System.Int32,System.Int32)"]

mipmap (Optional)
Type: SystemInt32

[Missing <param name="mipmap"/> documentation for "M:Godot.TextureLayered.SetDataPartial(Godot.Image,System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also