hasNodeAndResource method

bool hasNodeAndResource(
  1. NodePath path
)

Implementation

bool hasNodeAndResource(NodePath path) {
  return using((arena) {
    final ptrArgArray = arena.allocate<GDExtensionConstTypePtr>(sizeOf<GDExtensionConstTypePtr>() * 1);
    (ptrArgArray + 0).value = path.nativePtr.cast();
    final retPtr = arena.allocate<Bool>(sizeOf<Bool>());
    gde.ffiBindings.gde_object_method_bind_ptrcall(
      _bindings.methodHasNodeAndResource, nativePtr.cast(), ptrArgArray, retPtr.cast());
    return retPtr.value;
  });
}