Initial UE commit

This commit is contained in:
abouteiller
2025-07-15 16:48:22 +02:00
parent 89fdd9f0cc
commit 1e157b6876
199 changed files with 806 additions and 0 deletions

View File

@ -0,0 +1,42 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "SplineNode.generated.h"
class USplineComponent;
const uint8 bClassic = 0b00;
const uint8 bInverted = 0b01;
const uint8 bDualSens = 0b10;
class SplineHolder
{
SplineHolder()
{
Spline = nullptr;
Direction = bDualSens;
}
USplineComponent* Spline;
uint8 Direction : 3;
};
UCLASS()
class TUTOBEGGINER_API ASplineNode : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
ASplineNode();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
TArray<SplineHolder> Splines;
};