26 lines
837 B
C++
26 lines
837 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "HierarchicalLODVolume.h"
|
|
#include "Engine/CollisionProfile.h"
|
|
#include "Components/BrushComponent.h"
|
|
|
|
AHierarchicalLODVolume::AHierarchicalLODVolume(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer), bIncludeOverlappingActors(false)
|
|
{
|
|
if (UBrushComponent* MyBrushComponent = GetBrushComponent())
|
|
{
|
|
MyBrushComponent->SetCollisionEnabled(ECollisionEnabled::NoCollision);
|
|
MyBrushComponent->SetCanEverAffectNavigation(false);
|
|
MyBrushComponent->SetGenerateOverlapEvents(false);
|
|
}
|
|
|
|
bNotForClientOrServer = true;
|
|
bIsEditorOnlyActor = true;
|
|
|
|
bColored = true;
|
|
BrushColor.R = 255;
|
|
BrushColor.G = 100;
|
|
BrushColor.B = 255;
|
|
BrushColor.A = 255;
|
|
}
|