Click or drag to resize

ImageGetPixelv Method

Returns the color of the pixel at src if the image is locked. If the image is unlocked, it always returns a Color with the value (0, 0, 0, 1.0). This is the same as GetPixel(Int32, Int32), but with a Vector2 argument instead of two integer arguments.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Color GetPixelv(
	Vector2 src
)

Parameters

src
Type: GodotVector2

[Missing <param name="src"/> documentation for "M:Godot.Image.GetPixelv(Godot.Vector2)"]

Return Value

Type: Color

[Missing <returns> documentation for "M:Godot.Image.GetPixelv(Godot.Vector2)"]

See Also