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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback