commiting Source folder. Got forgotten in previous commits

This commit is contained in:
2026-04-09 21:44:44 +02:00
parent 4338efdb30
commit 563df1ffc8
91 changed files with 6756 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "GaeaLandscapeComponent.h"
#include "Engine.h"
// Sets default values for this component's properties
UGaeaLandscapeComponent::UGaeaLandscapeComponent()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// off to improve performance if you don't need them.
PrimaryComponentTick.bCanEverTick = false;
bIsEditorOnly = true;
// ...
}
// Called when the game starts
void UGaeaLandscapeComponent::BeginPlay()
{
Super::BeginPlay();
// ...
}
// Called every frame
void UGaeaLandscapeComponent::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
{
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
// ...
}
void UGaeaLandscapeComponent::DestroyComponent(bool bPromoteChildren)
{
if (GEngine)
{
// Display a message on the screen
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("Attempted to delete the Gaea Landscape Component, but this operation is not allowed on landscapes created with the Gaea plugin."));
}
}