REDNODE / GAME API

WidgetUtils

structnative name inkWidgetUtilsnative

Methods 4

static native func GlobalToLocal(widget: ref<inkWidget>, globalPosition: Vector2) -> Vector2
static native func LocalToGlobal(widget: ref<inkWidget>, opt localOffset: Vector2) -> Vector2
static native func WidgetToWidget(sourceWidget: ref<inkWidget>, destinationWidget: ref<inkWidget>) -> Vector2
static native func WidgetToWidgetGlobal(sourceWidget: ref<inkWidget>, destinationWidget: ref<inkWidget>) -> Vector2