ABookMenuInteractionActor
Properties
Property Name |
Type |
Access |
Description |
WidgetInteractionComponent |
UWidgetInteractionComponent |
VisibleAnywhere, BlueprintReadOnly |
The widget interaction component used to redirect the book interaction onto a Widget Component |
PageWidgetComponent |
UWidgetComponent |
VisibleAnywhere, BlueprintReadOnly |
The widget component used to display the current page the Book Actor interacts with |
DrawSize |
UStaticMeshComponent |
VisibleAnywhere, BlueprintReadOnly |
The Draw Size of the Widget. User Widgets and Render Targets must have the same resolution. Will be set via the Book Menu Data of the Book Menu Actor |
Functions
Move Pointer
Calculates the world location on the Page Widget based on the UV Coordinates of the Book Actors Book Mesh
Pin |
Direction |
Type |
Description |
UV Coordinates |
Input |
FVector2D |
UV Coordinates of the Book Page |
Debug Trace |
Input |
bool |
Shows a debug trace if true |
Return Value |
Output |
bool |
returns true if the operation was successful. Otherwise false. |
Get Interaction Component
returns the Widget Interaction Component. Can be used to do further interaction with the widget such as send keys etc.
Pin |
Direction |
Type |
Description |
Return Value |
Output |
UWidgetInteractionComponent |
|
Get Page Widget Component
Can be used to set the book menu data after begin play, during the game
Pin |
Direction |
Type |
Description |
Return Value |
Output |
UWidgetComponent |
|