Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Basic Tool Property Set that allows for selecting from a list of FNames (that we assume are Polygroup Layers)
| Name | UPolygroupLayersProperties |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PropertySets/PolygroupLayersProperties.h |
| Include Path | #include "PropertySets/PolygroupLayersProperties.h" |
Syntax
UCLASS (MinimalAPI)
class UPolygroupLayersProperties : public UInteractiveToolPropertySet
Inheritance Hierarchy
- FWatchablePropertySet → UInteractiveToolPropertySet → UPolygroupLayersProperties
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveToolPropertySet → UPolygroupLayersProperties
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveGroupLayer | FName | Select PolyGroup layer to use. | PropertySets/PolygroupLayersProperties.h |
|
| GroupLayersList | TArray< FString > | Internal list used to implement above | PropertySets/PolygroupLayersProperties.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Provides set of available group layers. | PropertySets/PolygroupLayersProperties.h | ||
UE::Geometry::FPolygroupLayer GetSelectedLayer
(
const FDynamicMesh3& FromMesh |
PropertySets/PolygroupLayersProperties.h | ||
bool HasSelectedPolygroup() |
Return true if any option other than "Default" is selected | PropertySets/PolygroupLayersProperties.h | |
void InitializeGroupLayers
(
const FDynamicMesh3* Mesh |
PropertySets/PolygroupLayersProperties.h | ||
void InitializeGroupLayers
(
const TSet< FName >& LayerNames |
PropertySets/PolygroupLayersProperties.h | ||
void SetSelectedFromPolygroupIndex
(
int32 Index |
PropertySets/PolygroupLayersProperties.h |