getScreenPosition method

Vector2 getScreenPosition()

Implementation

Vector2 getScreenPosition() {
  return using((arena) {
    Pointer<Pointer<Void>> ptrArgArray = nullptr;
    final retVal = Vector2();
    final retPtr = retVal.nativePtr;
    gde.ffiBindings.gde_object_method_bind_ptrcall(
      _bindings.methodGetScreenPosition, nativePtr.cast(), ptrArgArray, retPtr.cast());
    retVal.updateFromOpaque();
    return retVal;
  });
}