Skip to main content

ABookMenuActor

Properties

Property Name Type Access Description
BookMenuData UBookMenuData EditAnywhere
**Property Name****Type****Access****Description**
BookMenuDataUBookMenuDataEditAnywhereDefault Configuration Data for the Book, containing information such as the the widgets to be displayed as book pages
SkeletalMeshComponentUSkeletalMeshComponentVisibleAnywhere, BlueprintReadOnlyThe animated book mesh
StaticMeshComponentUStaticMeshComponentVisibleAnywhere, BlueprintReadOnlyA dummy static mesh component for doing traces. Needed to determine the UV coordinates based on trace hit results. The static mesh will be hidden in game. Must represent the book in a open state.
LeftPageCollisionUBoxComponentVisibleAnywhere, BlueprintReadOnlyCollision box used to determine which page of the book was traced 
RightPageCollisionUBoxComponentVisibleAnywhere, BlueprintReadOnlyCollision box used to determine which page of the book was traced 
InteractionActorABookMenuInteractionActorEditAnywhere, BlueprintReadOnlyReference to the actor that redirects the interaction to a widget interaction component

Functions

Set Book Menu Data


Can be used to set the book menu data after begin play, during the game

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
In Book Menu DataInputUBookMenuDataThe new Book Menu Data

 

Get Interaction Actor


Returns the reference to the Book Menu Interaction Actor

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Return ValueOutputABookMenuInteractionActorReturns the reference to the Book Menu Interaction Actor


Set Interaction Actor


Registers the Book Menu Interaction Actor to be used for Interaction with the Book

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
In Interaction ActorInputABookMenuInteractionActorThe Book Menu Interaction Actor to be set

 

Jump to Page Section


Determines if a forward or backward page turn need to be performed based on the current page section index.

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Section IndexInputint32The index of the Page Section to be displayed


Open Book At


If the book is closed, this triggers the open book animation and upfront sets the correct section to display.

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Section IndexInputint32

The Page Section Index to be displayed while opening the book

 

Close Book


Triggers the Close Book animation

 

Pause Book Update


Pauses the animation update of the anim instance without closing the book first.


Resume Book Update


Resume the animation update of the anim instance. Will only resume if the book is already open. Closed books don't need to consume render time


Interact


Performs a Line Trace based on the Start and End Parameters and moves the Widget Interaction pointer of the Book Menu Interaction Actor if it is set. Also tells the Animation Blueprint which page was traced to.

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
StartInputFVector

Start of the Line Trace

EndInputFVector

End of the Line Trace

Debug TraceInputbool

Shows a debug trace if true.

Trace ChannelInputECollisionChannel

The Collision Channel to be used for the line trace.

SuccessOutputEXEC

Indicates if the Interaction was executed successfully

FailedOutputEXEC

Indicates if the Interaction was not executed successfully

Return ValueOutputbool

returns tru if the operation was successful. Otherwise false


Get Anim Instance


Returns the Animation Instance of the Animation Blueprint

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Return ValueOutputUBookMenuAnimInstance


 

Get Left Page Collision Box


Returns the Collision Box of the left page

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Return ValueOutputUBoxComponent 

 

Get Right Page Collision Box


Returns the Collision Box of the right page

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Return ValueOutputUBoxComponent 

 

Get Static Mesh Component


Returns the Static Mesh Component

**Pin**Pin**Direction**Direction**Type**Type**Description**Description
Return ValueOutputUStaticMeshComponent