expose method for retrieving all child entities
This commit is contained in:
@@ -885,6 +885,17 @@ external int get_entity_count(
|
||||
bool renderableOnly,
|
||||
);
|
||||
|
||||
@ffi.Native<
|
||||
ffi.Void Function(
|
||||
ffi.Pointer<ffi.Void>, EntityId, ffi.Bool, ffi.Pointer<EntityId>)>(
|
||||
symbol: 'get_entities', assetId: 'flutter_filament_plugin')
|
||||
external void get_entities(
|
||||
ffi.Pointer<ffi.Void> sceneManager,
|
||||
int target,
|
||||
bool renderableOnly,
|
||||
ffi.Pointer<EntityId> out,
|
||||
);
|
||||
|
||||
@ffi.Native<
|
||||
ffi.Pointer<ffi.Char> Function(
|
||||
ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Bool)>(
|
||||
|
||||
Reference in New Issue
Block a user