FHitResult::GetActor

Utility to return the Actor that owns 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

AActor * GetActor() const

Remarks

Utility to return the Actor that owns 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