UMagicLeapRaycastComponent::RequestRaycast

Requests a raycast with the given query parameters.

Windows
MacOS
Linux

References

Module

MagicLeap

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/RaycastComponent.h

Include

#include "RaycastComponent.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/RaycastComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Raycast|MagicLeap")
bool RequestRaycast
(
    const FMagicLeapRaycastQueryParams & RequestParams,
    const FRaycastResultDelegate & ResultDelegate
)

Remarks

Requests a raycast with the given query parameters.

Returns

True if the raycast request was successfully placed, false otherwise.

Parameters

Parameter

Description

RequestParams

Parameters for the raycast query.

ResultDelegate

Delegate which will be called when the raycast result is ready.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss