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

#include <DungeonPartsSelector.h>

Inheritance diagram for UDungeonPartsSelector:
UDungeonSamplePartsSelector

Public Member Functions

int32 SelectPartsIndex (const FPartsQuery &Query, int32 NumCandidates) const
 
int32 SelectMeshSetIndex (const FMeshSetQuery &Query, int32 NumCandidates) const
 

Detailed Description

Author
Shun Moriya

Member Function Documentation

◆ SelectMeshSetIndex()

int32 UDungeonPartsSelector::SelectMeshSetIndex ( const FMeshSetQuery Query,
int32  NumCandidates 
) const

Selects an index from mesh set candidates. Called only when mesh set selection policy is CustomSelector. Returning an out-of-range index falls back to the built-in selection.

メッシュセット候補からインデックスを選択します。 メッシュセット選択ポリシーが CustomSelector の場合にのみ呼び出されます。 範囲外のインデックスを返すと、組み込みの選択にフォールバックします。

◆ SelectPartsIndex()

int32 UDungeonPartsSelector::SelectPartsIndex ( const FPartsQuery Query,
int32  NumCandidates 
) const

Selects an index from parts candidates. Called only when PartsSelectionMethod is Custom. Returning an out-of-range index falls back to the built-in selection. This callback is in the generation hot path.

パーツ候補からインデックスを選択します。 PartsSelectionMethod が Custom の場合にのみ呼び出されます。 範囲外のインデックスを返すと、組み込みの選択にフォールバックします。 このコールバックは生成のホットパスに含まれます。


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