You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb zousar.shaker #rb markus.breyer #rb robert.manuszewski #preflight 646391406b1406b54ab15460 [CL 25489627 by kirill zorin in ue5-main branch]
30 lines
695 B
C++
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
|