Skip to content

UEyelinkUserWidgetBase

A base UMG widget class for binding Eyelink graphics callbacks to UI elements.

Syntax

class UEyelinkUserWidgetBase : public UUserWidget

Remarks

Subclass this widget in UMG to implement the visual side of Eyelink calibration. The calibration-related Blueprint-implementable events are invoked automatically once the delegates are bound via BindEyelinkDelegates. UCLASS

Inheritance Hierarchy

UUserWidgetUEyelinkUserWidgetBase

Methods

Method Signature Description Blueprint
BindEyelinkDelegates void UEyelinkUserWidgetBase::BindEyelinkDelegates(UEyelinkInterface *eyelink) Binds this widget's drawing functions to the provided Eyelink interface object. yes
ClearCalibrationDisplay void UEyelinkUserWidgetBase::ClearCalibrationDisplay() Blueprint event called by Eyelink to clear all content from the calibration display. yes
DrawCalibrationTarget void UEyelinkUserWidgetBase::DrawCalibrationTarget(int x, int y) Blueprint event called by Eyelink to draw a calibration target at the given position. yes
ExitCalibrationDisplay void UEyelinkUserWidgetBase::ExitCalibrationDisplay() Blueprint event called by Eyelink to tear down the calibration display. yes
GetDPIScaleFactor float UEyelinkUserWidgetBase::GetDPIScaleFactor() const Returns the reciprocal of the current DPI scale factor for this viewport. yes
GetEyelink UEyelinkInterface * UEyelinkUserWidgetBase::GetEyelink() const Returns the EyelinkInterface associated with the current game instance. yes
HideCalibrationTarget void UEyelinkUserWidgetBase::HideCalibrationTarget() Blueprint event called by Eyelink to erase the current calibration target. yes
SetupCalibrationDisplay int UEyelinkUserWidgetBase::SetupCalibrationDisplay() Blueprint event called by Eyelink to initialize the calibration display. yes
UEyelinkUserWidgetBase UEyelinkUserWidgetBase::UEyelinkUserWidgetBase(const FObjectInitializer &ObjectInitializer) Constructs the widget with the given object initializer.
UnbindEyelinkDelegates void UEyelinkUserWidgetBase::UnbindEyelinkDelegates() Unbinds all delegates from the Eyelink interface object. yes