add clamp option to android bindings and allow resource paths starting with file://

This commit is contained in:
Nick Fisher
2022-09-09 13:00:19 +10:00
parent 7f2c68b199
commit 01e1efabc1
2 changed files with 6 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ interface FilamentInterop : Library {
fun clear_lights(viewer:Pointer);
fun set_background_image(viewer:Pointer, path:String);
fun set_background_image_position(viewer:Pointer, x:Float, y:Float);
fun set_background_image_position(viewer:Pointer, x:Float, y:Float, clamp:Boolean);
fun load_texture(asset:Pointer, path:String, renderableIndex:Int);
fun set_texture(asset:Pointer);