maybe someone had done this.
i need to give my library a bitmap from b4a
library part:
b4a part:
i need to give my library a bitmap from b4a
library part:
B4X:
public Texture(android.graphics.Bitmap Bitmap1)
{
this.Bitmap1 =Bitmap1;
}
b4a part:
B4X:
Dim bmp As Bitmap = LoadBitmap(File.DirAssets,"wood.png")
Cube1.SetTexture(bmp)