BitMapCreateFromImageAlpha Method |
Creates a bitmap that matches the given image dimensions, every element of the bitmap is set to false if the alpha value of the image at that position is equal to threshold or less, and true in other case.
Namespace: Godot
public void CreateFromImageAlpha( Image image, float threshold = 0.1f )
[Missing <param name="image"/> documentation for "M:Godot.BitMap.CreateFromImageAlpha(Godot.Image,System.Single)"]
[Missing <param name="threshold"/> documentation for "M:Godot.BitMap.CreateFromImageAlpha(Godot.Image,System.Single)"]