Skip to main content

UBookMenuStatics

Properties

The static Blueprint Function Library does not define any properties.

Functions

Create Mouse Trace Parameters


Description

Method to translate the mouse position into trace parameters such as start and end

PinDirectionTypeDescription
Player ControllerInputAPlayerControllerThe Player controller
Trace DistanceInputfloatThe distance (length) used to perform the trace
SuccessOutputEXECIndicates if the operation was successful
FailedOutputEXECIndicates if the operation was failed
Out StartOutputFVectorThe resulting Start Coordinate of the Trace Parameters
Out EndOutputFVectorhe resulting End Coordinate of the Trace Parameters

Move Widget Interaction Pointer


Description

Calculates the world location on the Page Widget based on the UV Coordinates of the Book Actors Book Mesh

PinDirectionTypeDescription
In Widget Interaction ComponentInputUWidgetInteractionComponentThe Widget Interaction Component that shall be influenced
In Widget ComponentInputUWidgetComponentThe Widget Component the Pointer shall be moved on
In Reference RotationInputFRotatorA reference rotation in order to do some relative calculations. e.g. the World Rotation of the Book Interaction Actor.
UV CoordinatesInputFVector2DUV Coordinates to be translated onto the Widget
Debug TraceInputboolshows a debug trace if true.
Return ValueOutputboolreturns true if the operation was successful. Otherwise false.

Book Uv Trace


Description

Creates a trace based on the given collision channel. If a Book Men uActor was hit the Method determines if the book was hit from the front and tries to determine the current page and the UV Coordinates. This requires the Project Settings to be set to use the generation of UV coordinates from hit results.

PinDirectionTypeDescription
Book Menu ActorInputABookMenuActorThe Book Menu Actor we ar looking for
StartInputFVectorStart of the Trace
EndInputFVectorEnd of the Trace
Debug TraceInputboolshows a debug trace if true
Trace ChannelInputECollisionChannelThe Collision Channel to be used for the Trace
Out UV CoordinatesOutputFVector2DThe found UV Coordinates
Out Page IndexOutputint32The found page index 0 = Left ; 1 = Right
Return ValueOutputboolreturns true if the operation was successful. Otherwise false.

Get Local Player Controller


Description:

Method to get the First local Player Controller based on the World Context


Create Texture Render Target 2D


Description

Creates a new Render Target with the specified parameters

ParameterDirectionTypeDescription
Draw SizeInputFVector2DThe DrawSize of the Render Target
FilterInputTextureFilterThe Texture Filter to be applied
Use Gamma CorrectionInputboolUses Gamma Correction if true
Return ValueOutputUTextureRenderTarget2Dreturns the created Render Target


Draw UserWidget to Render Target 2D


Description

Method to render a UserWidget onto a TextureRenderTarget2D

ParameterDirectionTypeDescription
User WidgetInputUUserWidgetThe UserWidget to be rendered
Render TargetInputUTextureRenderTarget2DThe Target to be rendered on
Draw SizeInputFVector2DThe DrawSize of the Render Target
Delta TimeInputfloatDelta time
Use Gamma CorrectionInputboolUses Gamma Correction if true