Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/RaycastComponent.h |
Include |
#include "RaycastComponent.h" |
Source |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/RaycastComponent.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Raycast|MagicLeap")
bool RequestRaycast
(
const FMagicLeapRaycastQueryParams & RequestParams,
const FRaycastResultDelegate & ResultDelegate
)
Requests a raycast with the given query parameters.
True if the raycast request was successfully placed, false otherwise.
Parameter |
Description |
---|---|
RequestParams |
Parameters for the raycast query. |
ResultDelegate |
Delegate which will be called when the raycast result is ready. |