Files
kirill zorin de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00

30 lines
695 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#if WITH_EDITOR
#include "EngineUtils.h"
class UGeometryCollectionComponent;
/** HitProxy with transform index information. */
struct HGeometryCollection : public HHitProxy
{
DECLARE_HIT_PROXY(GEOMETRYCOLLECTIONENGINE_API)
TObjectPtr<UGeometryCollectionComponent> Component;
int32 BoneIndex;
HGeometryCollection(UGeometryCollectionComponent* InGeometryCollectionComponent, int32 InBoneIndex)
: Component(InGeometryCollectionComponent)
, BoneIndex(InBoneIndex)
{}
virtual void AddReferencedObjects(FReferenceCollector& Collector) override
{
Collector.AddReferencedObject(Component);
}
};
#endif // WITH_EDITOR