Navigation
Unreal Engine C++ API Reference > Plugins > ModelingComponents > PropertySets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveToolPropertySet
- UWeightMapSetProperties
- UOffsetWeightMapSetProperties
- USmoothWeightMapSetProperties
References
Module | ModelingComponents |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PropertySets/WeightMapSetProperties.h |
Include | #include "PropertySets/WeightMapSetProperties.h" |
Syntax
UCLASS&40;&41;
class UWeightMapSetProperties : public UInteractiveToolPropertySet
Remarks
Basic Tool Property Set that allows for selecting from a list of FNames (that we assume are Weight Maps)
Variables
Type | Name | Description | |
---|---|---|---|
bool | bInvertWeightMap | ||
FName | WeightMap | Select vertex weight map. | |
TArray< FString > | WeightMapsList | Internal list used to implement above |
Functions
Type | Name | Description | |
---|---|---|---|
TArray< FString > | This function is called provide set of available weight maps | ||
bool | Return true if any option other than "None" is selected | ||
void | InitializeFromMesh
(
const FMeshDescription* Mesh |
Set list of weightmap FNames based on per-vertex float attributes in MeshDescription. Adds "None" as first option. | |
void | InitializeWeightMaps
(
const TArray< FName >& WeightMapNames |
Set list of weightmap FNames explicitly. Adds "None" as first option. | |
void | SetSelectedFromWeightMapIndex
(
int32 Index |
Set selected weightmap from its position in the WeightMapsList |