FHitResult::GetComponent

Utility to return the Component that was hit.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

UPrimitiveComponent * GetComponent() const

Remarks

Utility to return the Component that was hit.

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