Dungeon Generator  1.6.6
Procedural 3D dungeon generator plugin for Unreal Engine 5. Easy generation of levels, mini-maps and missions.
FDungeonRoomRegister Struct Reference

#include <DungeonRoomRegister.h>

Inheritance diagram for FDungeonRoomRegister:
FDungeonRoomLocator

Public Member Functions

bool IsValid () const noexcept
 
const FSoftObjectPath & GetLevelPath () const noexcept
 
FIntVector GetSize () const noexcept
 
int32 GetWidth () const noexcept
 
int32 GetDepth () const noexcept
 
int32 GetHeight () const noexcept
 
void SetSize (const FIntVector &size) noexcept
 
bool IsGenerateRoofMesh () const noexcept
 
bool IsGenerateFloorMesh () const noexcept
 
void NoNorthWallMeshGeneration (const FIntVector &location, const bool noWallMeshGeneration) noexcept
 
void NoSouthWallMeshGeneration (const FIntVector &location, const bool noWallMeshGeneration) noexcept
 
void NoEastWallMeshGeneration (const FIntVector &location, const bool noWallMeshGeneration) noexcept
 
void NoWestWallMeshGeneration (const FIntVector &location, const bool noWallMeshGeneration) noexcept
 
bool IsNoNorthWallMeshGeneration (const FIntVector &location) const noexcept
 
bool IsNoSouthWallMeshGeneration (const FIntVector &location) const noexcept
 
bool IsNoEastWallMeshGeneration (const FIntVector &location) const noexcept
 
bool IsNoWestWallMeshGeneration (const FIntVector &location) const noexcept
 
void Build (const ULevel *level, const FDungeonGridSize &gridSize)
 
int32 GetGridAttributeCrc32 () const noexcept
 
uint32_t GetReservationNumber () const noexcept
 

Protected Attributes

FSoftObjectPath LevelPath
 
int32 Width = 3
 
int32 Depth = 3
 
int32 Height = 2
 
bool GenerateRoofMesh = true
 
bool GenerateFloorMesh = false
 
TArray< uint8 > GridAttribute
 
int32 GridAttributeCrc32 = 0
 

Detailed Description

Author
Shun Moriya

Member Function Documentation

◆ Build()

void FDungeonRoomRegister::Build ( const ULevel *  level,
const FDungeonGridSize gridSize 
)

ボクセル属性情報を構築します

Author
Shun Moriya

◆ GetDepth()

int32 FDungeonRoomRegister::GetDepth ( ) const
inlinenoexcept

Gets the grid depth of the sublevel

◆ GetGridAttributeCrc32()

int32 FDungeonRoomRegister::GetGridAttributeCrc32 ( ) const
inlinenoexcept

ボクセル属性情報のCRC32を取得します

◆ GetHeight()

int32 FDungeonRoomRegister::GetHeight ( ) const
inlinenoexcept

Gets the grid height of the sublevel

◆ GetLevelPath()

const FSoftObjectPath & FDungeonRoomRegister::GetLevelPath ( ) const
inlinenoexcept

Get sublevel paths

◆ GetReservationNumber()

uint32_t FDungeonRoomRegister::GetReservationNumber ( ) const
noexcept

サブレベル抽選時に検索するための予約番号を取得します

Returns
サブレベルの予約番号

◆ GetSize()

FIntVector FDungeonRoomRegister::GetSize ( ) const
inlinenoexcept

Gets the sub-level grid size

◆ GetWidth()

int32 FDungeonRoomRegister::GetWidth ( ) const
inlinenoexcept

Gets the grid width of the sublevel

◆ IsGenerateFloorMesh()

bool FDungeonRoomRegister::IsGenerateFloorMesh ( ) const
inlinenoexcept

Generates or retrieves the floor mesh of the grid for sublevel placement

◆ IsGenerateRoofMesh()

bool FDungeonRoomRegister::IsGenerateRoofMesh ( ) const
inlinenoexcept

Generates or retrieves the ceiling mesh of the grid for sublevel placement

◆ IsNoEastWallMeshGeneration()

bool FDungeonRoomRegister::IsNoEastWallMeshGeneration ( const FIntVector &  location) const
inlinenoexcept

東側の壁がメッシュ生成禁止か取得します

◆ IsNoNorthWallMeshGeneration()

bool FDungeonRoomRegister::IsNoNorthWallMeshGeneration ( const FIntVector &  location) const
inlinenoexcept

北側の壁がメッシュ生成禁止か取得します

◆ IsNoSouthWallMeshGeneration()

bool FDungeonRoomRegister::IsNoSouthWallMeshGeneration ( const FIntVector &  location) const
inlinenoexcept

南側の壁がメッシュ生成禁止か取得します

◆ IsNoWestWallMeshGeneration()

bool FDungeonRoomRegister::IsNoWestWallMeshGeneration ( const FIntVector &  location) const
inlinenoexcept

西側の壁がメッシュ生成禁止か取得します

◆ NoEastWallMeshGeneration()

void FDungeonRoomRegister::NoEastWallMeshGeneration ( const FIntVector &  location,
const bool  noWallMeshGeneration 
)
inlinenoexcept

東側の壁がメッシュ生成禁止か設定します

◆ NoNorthWallMeshGeneration()

void FDungeonRoomRegister::NoNorthWallMeshGeneration ( const FIntVector &  location,
const bool  noWallMeshGeneration 
)
inlinenoexcept

北側の壁がメッシュ生成禁止か設定します

◆ NoSouthWallMeshGeneration()

void FDungeonRoomRegister::NoSouthWallMeshGeneration ( const FIntVector &  location,
const bool  noWallMeshGeneration 
)
inlinenoexcept

南側の壁がメッシュ生成禁止か設定します

◆ NoWestWallMeshGeneration()

void FDungeonRoomRegister::NoWestWallMeshGeneration ( const FIntVector &  location,
const bool  noWallMeshGeneration 
)
inlinenoexcept

西側の壁がメッシュ生成禁止か設定します

◆ SetSize()

void FDungeonRoomRegister::SetSize ( const FIntVector &  size)
inlinenoexcept

Set the sub-level grid size

Member Data Documentation

◆ Depth

int32 FDungeonRoomRegister::Depth = 3
protected

Specify the depth of the sublevel. Depth is not in centimeters, but in grid numbers.

サブレベルの奥行です。単位はセンチメートルではなくグリッドの数です。 大きさはDungeonSubLevelScriptActorのDepthで設定します。

◆ GenerateFloorMesh

bool FDungeonRoomRegister::GenerateFloorMesh = false
protected

Generate floor mesh If checked, the floor mesh is automatically generated.

床のメッシュの生成 チェックされている場合は床のメッシュを自動生成します。

◆ GenerateRoofMesh

bool FDungeonRoomRegister::GenerateRoofMesh = true
protected

Generate ceiling mesh If checked, ceiling mesh is automatically generated.

天井のメッシュの生成 チェックされている場合は天井のメッシュを自動生成します。

◆ GridAttribute

TArray<uint8> FDungeonRoomRegister::GridAttribute
protected

Buildで事前計算したグリッドの属性

◆ Height

int32 FDungeonRoomRegister::Height = 2
protected

Specify the height of the sublevel. The height is the number of grids, not centimeters.

サブレベルの高さです。単位はセンチメートルではなくグリッドの数です。 大きさはDungeonSubLevelScriptActorのHeightで設定します。

◆ LevelPath

FSoftObjectPath FDungeonRoomRegister::LevelPath
protected

Specify the sublevel. サブレベルを指定して下さい。

◆ Width

int32 FDungeonRoomRegister::Width = 3
protected

Specify the width of the sublevel. The width is the number of grids, not centimeters.

サブレベルの幅です。単位はセンチメートルではなくグリッドの数です。 大きさはDungeonSubLevelScriptActorのWidthで設定します。


The documentation for this struct was generated from the following files: