ImageSetPixelv Method |
Sets the Color of the pixel at (dst.x, dst.y) if the image is locked. Note that the dst values must be integers. Example:
var img = Image.new() img.create(img_width, img_height, false, Image.FORMAT_RGBA8) img.lock() img.set_pixelv(Vector2(x, y), color) # Works img.unlock() img.set_pixelv(Vector2(x, y), color) # Does not have an effect
Namespace: Godot
public void SetPixelv( Vector2 dst, Color color )
[Missing <param name="dst"/> documentation for "M:Godot.Image.SetPixelv(Godot.Vector2,Godot.Color)"]
[Missing <param name="color"/> documentation for "M:Godot.Image.SetPixelv(Godot.Vector2,Godot.Color)"]