DRG-Femboy-Voice/Source/FSD/Public/BoxFunctionLibrary.h
2025-04-15 12:39:31 -07:00

29 lines
837 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "UObject/NoExportTypes.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "BoxFunctionLibrary.generated.h"
UCLASS(Blueprintable)
class UBoxFunctionLibrary : public UBlueprintFunctionLibrary {
GENERATED_BODY()
public:
UBoxFunctionLibrary();
UFUNCTION(BlueprintCallable, BlueprintPure)
static FBox CreateBoxAt(FVector Location, FVector Size);
UFUNCTION(BlueprintCallable)
static FVector ClosestPointToBox(FVector Pos, const FBox& Box);
UFUNCTION(BlueprintCallable, BlueprintPure)
static float BoxSize(FBox Box);
UFUNCTION(BlueprintCallable, BlueprintPure)
static FVector BoxExtends(FBox Box);
UFUNCTION(BlueprintCallable, BlueprintPure)
static FVector BoxCenter(FBox Box);
};