hide method

  1. @override
Future hide(
  1. ThermionEntity entity,
  2. String? meshName
)
override

Implementation

@override
Future hide(ThermionEntity entity, String? meshName) async {
  final meshNamePtr =
      meshName?.toNativeUtf8(allocator: allocator).cast<Char>() ?? nullptr;
  if (hide_mesh(_sceneManager!, entity, meshNamePtr) != 1) {}
  allocator.free(meshNamePtr);
}