#include <DungeonMeshSetDatabase.h>
|
| | UDungeonMeshSetDatabase (const FObjectInitializer &objectInitializer) |
| |
|
virtual void | PostLoad () override |
| |
| virtual const FDungeonMeshSet * | AtImplement (const size_t index) const |
| |
| virtual const FDungeonMeshSet * | SelectImplement (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 () |
| |
|
| | 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 |
| |
Database of dungeon mesh sets ダンジョンのメッシュセットのデータベース
◆ UDungeonMeshSetDatabase()
| UDungeonMeshSetDatabase::UDungeonMeshSetDatabase |
( |
const FObjectInitializer & |
objectInitializer | ) |
|
|
explicit |
- Author
- Shun Moriya
- Copyright
- 2023- Shun Moriya All Rights Reserved.
◆ AtImplement()
| const FDungeonMeshSet * UDungeonMeshSetDatabase::AtImplement |
( |
const size_t |
index | ) |
const |
|
virtual |
◆ 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 パーツを選択する方法
◆ DungeonPartsSelector
Optional selector object used only when mesh-set selection policy is CustomSelector.
◆ Parts
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:
- DungeonMeshSetDatabase.h
- DungeonMeshSetDatabase.cpp