UMagicLeapRaycastComponent

Creates raycast requests and delegates their result.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeap

Header

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

Include

#include "RaycastComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
       Meta=(BlueprintSpawnableComponent))
class UMagicLeapRaycastComponent : public UActorComponent

Remarks

Creates raycast requests and delegates their result.

Constructors

Name Description

Public function

UMagicLeapRaycastComponent()

Destructors

Functions

Name Description

Public function UFunction BlueprintCallable, Category

bool

 

RequestRaycast

(
    const FMagicLeapRaycastQueryParams ...,
    const FRaycastResultDelegate& Resu...
)

Requests a raycast with the given query parameters.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Overridden from UObject

Name Description

Public function Virtual

void

 

FinishDestroy()

Called to finish destroying the object.

Classes

Name

Description

Public class

FRaycastResultDelegate

Delegate used to convey the result of a raycast.

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