Open 3D Engine LyShine Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiCanvasOnMeshInterface Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

virtual bool ProcessHitInputEvent (const AzFramework::InputChannel::Snapshot &inputSnapshot, const AzFramework::RenderGeometry::RayRequest &rayRequest)=0
 

Member Function Documentation

◆ ProcessHitInputEvent()

virtual bool UiCanvasOnMeshInterface::ProcessHitInputEvent ( const AzFramework::InputChannel::Snapshot &  inputSnapshot,
const AzFramework::RenderGeometry::RayRequest &  rayRequest 
)
pure virtual

Convert the input ray collision into a canvas space position and pass the event and that position to the UI canvas to handle as a positional input event

Returns
true if the event was handled

The documentation for this class was generated from the following file: