getChildEntity method

  1. @override
Future<ThermionEntity> getChildEntity(
  1. ThermionEntity parent,
  2. String childName
)
override

Finds the child entity named childName associated with the given parent. Usually, parent will be the return value from loadGlb/loadGltf and childName will be the name of a node/mesh.

Implementation

@override
Future<ThermionEntity> getChildEntity(
    ThermionEntity parent, String childName) async {
  return (await _shim.getChildEntity(parent, childName).toDart).toDartInt;
}