expose addAnimationComponent and dont add by default on loadGlb
This commit is contained in:
@@ -225,10 +225,10 @@ external int get_instance_count(
|
||||
);
|
||||
|
||||
@ffi.Native<
|
||||
ffi.Int Function(
|
||||
ffi.Void Function(
|
||||
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<EntityId>)>(
|
||||
symbol: 'get_instances', assetId: 'flutter_filament_plugin')
|
||||
external int get_instances(
|
||||
external void get_instances(
|
||||
ffi.Pointer<ffi.Void> sceneManager,
|
||||
int entityId,
|
||||
ffi.Pointer<EntityId> out,
|
||||
@@ -931,6 +931,13 @@ external void add_collision_component(
|
||||
bool affectsCollidingTransform,
|
||||
);
|
||||
|
||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
||||
symbol: 'add_animation_component', assetId: 'flutter_filament_plugin')
|
||||
external void add_animation_component(
|
||||
ffi.Pointer<ffi.Void> sceneManager,
|
||||
int entityId,
|
||||
);
|
||||
|
||||
@ffi.Native<
|
||||
EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Float>,
|
||||
ffi.Int, ffi.Pointer<ffi.Uint16>, ffi.Int, ffi.Pointer<ffi.Char>)>(
|
||||
|
||||
Reference in New Issue
Block a user