You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Currently allows ISM selection and some debug bounds/stats. #preflight 64090c8ca92b27de3c553c5c [CL 24571870 by jeremy moore in ue5-main branch]
24 lines
1.0 KiB
C++
24 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "GeometryCollection/GeometryCollectionISMPoolActor.h"
|
|
#include "GeometryCollection/GeometryCollectionISMPoolComponent.h"
|
|
#include "GeometryCollection/GeometryCollectionISMPoolDebugDrawComponent.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(GeometryCollectionISMPoolActor)
|
|
|
|
AGeometryCollectionISMPoolActor::AGeometryCollectionISMPoolActor(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
ISMPoolComp = CreateDefaultSubobject<UGeometryCollectionISMPoolComponent>(TEXT("ISMPoolComp"));
|
|
RootComponent = ISMPoolComp;
|
|
|
|
#if UE_ENABLE_DEBUG_DRAWING
|
|
ISMPoolDebugDrawComp = CreateDefaultSubobject<UGeometryCollectionISMPoolDebugDrawComponent>(TEXT("ISMPoolDebug"));
|
|
ISMPoolDebugDrawComp->SetCollisionEnabled(ECollisionEnabled::NoCollision);
|
|
ISMPoolDebugDrawComp->SetCanEverAffectNavigation(false);
|
|
ISMPoolDebugDrawComp->CanCharacterStepUpOn = ECanBeCharacterBase::ECB_No;
|
|
ISMPoolDebugDrawComp->SetGenerateOverlapEvents(false);
|
|
ISMPoolDebugDrawComp->SetupAttachment(ISMPoolComp);
|
|
#endif
|
|
}
|