Navigation
API > API/Plugins > API/Plugins/MeshModelingTools
| Name | UMeshWeightChannelDensityProperties |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/MeshWeightChannelProperties.h |
| Include Path | #include "Properties/MeshWeightChannelProperties.h" |
Syntax
UCLASS (MinimalAPI)
class UMeshWeightChannelDensityProperties : public UInteractiveToolPropertySet
Inheritance Hierarchy
- FWatchablePropertySet → UInteractiveToolPropertySet → UMeshWeightChannelDensityProperties
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveToolPropertySet → UMeshWeightChannelDensityProperties
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeNames | TArray< FName > | Properties/MeshWeightChannelProperties.h | ||
| bUseWeightMap | bool | Whether to use a vertex weight map layer to control relative mesh density | Properties/MeshWeightChannelProperties.h |
|
| RelativeDensity | float | Amount to adjust density in regions where the vertex weight map is greater than zero. | Properties/MeshWeightChannelProperties.h |
|
| SelectedAttribute | FName | Name of the vertex weight map layer that will be used to adjust relative mesh density | Properties/MeshWeightChannelProperties.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Properties/MeshWeightChannelProperties.h | |||
int32 GetSelectedWeightAttributeIndex
(
const UE::Geometry::FDynamicMesh3*const Mesh |
Properties/MeshWeightChannelProperties.h | ||
void InitializeAttributes
(
const UE::Geometry::FDynamicMesh3*const Mesh |
Set up the list of available attributes | Properties/MeshWeightChannelProperties.h | |
void ValidateSelectedAttribute() |
If the attribute selection is not valid, use the attribute at index 0 or empty if there are no attributes | Properties/MeshWeightChannelProperties.h |