UWeightMapSetProperties

Basic Tool Property Set that allows for selecting from a list of FNames (that we assume are Weight Maps)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PropertySets/WeightMapSetProperties.h

Include

#include "PropertySets/WeightMapSetProperties.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
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

Name Description

Public variable UProperty Category, EditAnywhere

bool

 

bInvertWeightMap

Public variable UProperty Category, EditAnywhere, Meta

FName

 

WeightMap

Select vertex weight map.

Public variable UProperty Meta

TArray< FString...

 

WeightMapsList

Internal list used to implement above

Functions

Name Description

Public function UFunction

TArray< FStr...

 

GetWeightMapsFunc()

This function is called provide set of available weight maps

Public function Const

bool

 

HasSelectedWeightMap()

Return true if any option other than "None" is selected

Public function

void

 

InitializeFromMesh

(
    const FMeshDescription* Mesh
)

Set list of weightmap FNames based on per-vertex float attributes in MeshDescription. Adds "None" as first option.

Public function

void

 

InitializeWeightMaps

(
    const TArray< FName >& WeightMapNa...
)

Set list of weightmap FNames explicitly. Adds "None" as first option.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss