UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HActor Struct Reference

#include <EngineUtils.h>

+ Inheritance diagram for HActor:

Public Member Functions

 HActor (AActor *InActor, const UPrimitiveComponent *InPrimComponent)
 
 HActor (AActor *InActor, const UPrimitiveComponent *InPrimComponent, int32 InSectionIndex, int32 InMaterialIndex)
 
 HActor (AActor *InActor, const UPrimitiveComponent *InPrimComponent, EHitProxyPriority InPriority)
 
 HActor (AActor *InActor, const UPrimitiveComponent *InPrimComponent, EHitProxyPriority InPriority, int32 InSectionIndex, int32 InMaterialIndex)
 
virtual ENGINE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual ENGINE_API EMouseCursor::Type GetMouseCursor () override
 
virtual ENGINE_API FTypedElementHandle GetElementHandle () const override
 
ENGINE_API bool AlwaysAllowsTranslucentPrimitives () const override
 
- Public Member Functions inherited from HHitProxy
ENGINE_API HHitProxy (EHitProxyPriority InPriority=HPP_World)
 
 HHitProxy (EHitProxyPriority InPriority, EHitProxyPriority InOrthoPriority)
 
virtual ENGINE_API ~HHitProxy ()
 
ENGINE_API bool IsA (HHitProxyType *TestType) const
 
- Public Member Functions inherited from FRefCountedObject
 FRefCountedObject ()
 
virtual ~FRefCountedObject ()
 
 FRefCountedObject (const FRefCountedObject &Rhs)=delete
 
FRefCountedObjectoperator= (const FRefCountedObject &Rhs)=delete
 
FReturnedRefCountValue AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Public Attributes

TObjectPtr< AActorActor
 
TObjectPtr< const UPrimitiveComponent > PrimComponent
 
int32 SectionIndex
 
int32 MaterialIndex
 
- Public Attributes inherited from HHitProxy
const EHitProxyPriority Priority
 
const EHitProxyPriority OrthoPriority
 
FHitProxyId Id
 

Constructor & Destructor Documentation

◆ HActor() [1/4]

HActor::HActor ( AActor InActor,
const UPrimitiveComponent *  InPrimComponent 
)
inline

◆ HActor() [2/4]

HActor::HActor ( AActor InActor,
const UPrimitiveComponent *  InPrimComponent,
int32  InSectionIndex,
int32  InMaterialIndex 
)
inline

◆ HActor() [3/4]

HActor::HActor ( AActor InActor,
const UPrimitiveComponent *  InPrimComponent,
EHitProxyPriority  InPriority 
)
inline

◆ HActor() [4/4]

HActor::HActor ( AActor InActor,
const UPrimitiveComponent *  InPrimComponent,
EHitProxyPriority  InPriority,
int32  InSectionIndex,
int32  InMaterialIndex 
)
inline

Member Function Documentation

◆ AddReferencedObjects()

void HActor::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

◆ AlwaysAllowsTranslucentPrimitives()

bool HActor::AlwaysAllowsTranslucentPrimitives ( ) const
overridevirtual

Method that specifies whether the hit proxy always allows translucent primitives to be associated with it or not, regardless of any other engine/editor setting. For example, if translucent selection was disabled, any hit proxies returning true would still allow translucent selection.

Returns
true if translucent primitives are always allowed with this hit proxy; false otherwise

Reimplemented from HHitProxy.

Reimplemented in HTranslucentActor.

◆ GetElementHandle()

FTypedElementHandle HActor::GetElementHandle ( ) const
overridevirtual

Get the element handle associated with this hit proxy, if any.

Reimplemented from HHitProxy.

◆ GetMouseCursor()

EMouseCursor::Type HActor::GetMouseCursor ( )
overridevirtual

Override to change the mouse based on what it is hovering over.

Reimplemented from HHitProxy.

Reimplemented in HTranslucentActor, HLandscapeSplineProxy, and HLandscapeSplineProxy_Tangent.

Member Data Documentation

◆ Actor

TObjectPtr<AActor> HActor::Actor

◆ MaterialIndex

int32 HActor::MaterialIndex

◆ PrimComponent

TObjectPtr<const UPrimitiveComponent> HActor::PrimComponent

◆ SectionIndex

int32 HActor::SectionIndex

The documentation for this struct was generated from the following files: