such as, in WidgetComponent.h
UENUM(BlueprintType)
enum class EWidgetSpace : uint8
{
/* The widget is rendered in the world as mesh, it can be occluded like any other mesh in the world. /
World,
/* The widget is rendered in the screen, completely outside of the world, never occluded. /
Screen
};
protected:
/* The coordinate space in which to render the widget /
UPROPERTY(EditAnywhere, Category=UserInterface)
EWidgetSpace Space;
such as, in WidgetComponent.h UENUM(BlueprintType) enum class EWidgetSpace : uint8 { /* The widget is rendered in the world as mesh, it can be occluded like any other mesh in the world. / World, /* The widget is rendered in the screen, completely outside of the world, never occluded. / Screen };
protected: /* The coordinate space in which to render the widget / UPROPERTY(EditAnywhere, Category=UserInterface) EWidgetSpace Space;
export: in WidgetComponent.script.h static int32 UWidgetComponent_Set_Space(lua_State L) { UWidgetComponent Obj = (UWidgetComponent*)UTableUtil::tousertype("UWidgetComponent",1); return 0; }
~please help