add reverse animation and stopAnimation bindings for android

This commit is contained in:
Nick Fisher
2022-09-11 18:55:29 +10:00
parent 7a8784db57
commit b66995d9b8
7 changed files with 53 additions and 35 deletions

View File

@@ -69,7 +69,8 @@ interface FilamentInterop : Library {
fun get_animation_count(asset:Pointer) : Int;
fun get_animation_name(asset:Pointer, outPtr:Pointer, index:Int);
fun play_animation(asset:Pointer, index:Int, loop:Boolean);
fun play_animation(asset:Pointer, index:Int, loop:Boolean, reverse:Boolean);
fun stop_animation(asset:Pointer, index:Int);
fun free_pointer(ptr:Pointer, size:Int);