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

#include <DungeonMeshSetDatabase.h>

Inheritance diagram for UDungeonMeshSetDatabase:

Public Member Functions

 UDungeonMeshSetDatabase (const FObjectInitializer &objectInitializer)
 
virtual void PostLoad () override
 
virtual const FDungeonMeshSetAtImplement (const size_t index) const
 
virtual const FDungeonMeshSetSelectImplement (const uint16_t identifier, const uint8_t depthRatioFromStart, const std::shared_ptr< dungeon::Random > &random, const FMeshSetQuery &query) const
 
template<typename Function >
void Each (Function &&function) const
 
void MigrateSelectionPolicies ()
 

Protected Member Functions

 UPROPERTY (EditAnywhere, BlueprintReadOnly, Category="DungeonGenerator", meta=(DisplayName="Mesh Set Selection Policy", ToolTip="Phase 1 selector: chooses which FDungeonMeshSet candidate to use from this database. Individual Floor/Wall/Roof/Slope/Catwalk parts are selected afterward by each selection policy in the selected mesh set.")) EDungeonSelectionPolicy SelectionPolicy
 

Protected Attributes

EDungeonMeshSetSelectionMethod SelectionMethod = EDungeonMeshSetSelectionMethod::Random
 
bool bSelectionPolicyMigrated = false
 
TObjectPtr< UDungeonPartsSelectorDungeonPartsSelector
 
TArray< FDungeonMeshSetParts
 

Detailed Description

Database of dungeon mesh sets ダンジョンのメッシュセットのデータベース

Constructor & Destructor Documentation

◆ UDungeonMeshSetDatabase()

UDungeonMeshSetDatabase::UDungeonMeshSetDatabase ( const FObjectInitializer &  objectInitializer)
explicit
Author
Shun Moriya

Member Function Documentation

◆ AtImplement()

const FDungeonMeshSet * UDungeonMeshSetDatabase::AtImplement ( const size_t  index) const
virtual

FDungeonMeshSetを取得します

◆ SelectImplement()

const FDungeonMeshSet * UDungeonMeshSetDatabase::SelectImplement ( const uint16_t  identifier,
const uint8_t  depthRatioFromStart,
const std::shared_ptr< dungeon::Random > &  random,
const FMeshSetQuery query 
) const
virtual

FDungeonMeshSetをランダムに抽選します

◆ UPROPERTY()

UDungeonMeshSetDatabase::UPROPERTY ( EditAnywhere  ,
BlueprintReadOnly  ,
Category  = "DungeonGenerator",
meta  = (DisplayName="Mesh Set Selection Policy", ToolTip="Phase 1 selector: chooses which FDungeonMeshSet candidate to use from this database. Individual Floor/Wall/Roof/Slope/Catwalk parts are selected afterward by each selection policy in the selected mesh set.") 
)
protected

Part Selection Method パーツを選択する方法

Member Data Documentation

◆ DungeonPartsSelector

TObjectPtr<UDungeonPartsSelector> UDungeonMeshSetDatabase::DungeonPartsSelector
protected

Optional selector object used only when mesh-set selection policy is CustomSelector.

◆ Parts

TArray<FDungeonMeshSet> UDungeonMeshSetDatabase::Parts
protected

Set the DungeonRoomMeshSet; multiple DungeonRoomMeshSets can be set. DungeonRoomMeshSetを設定して下さい。DungeonRoomMeshSetは複数設定する事ができます。

◆ SelectionMethod

EDungeonMeshSetSelectionMethod UDungeonMeshSetDatabase::SelectionMethod = EDungeonMeshSetSelectionMethod::Random
protected

Legacy serialized selection method. Kept for backward compatibility and migrated to SelectionPolicy on load.


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