Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
| Name | FMeshVertexAttributePaintToolData |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/MeshVertexAttributePaintToolBase.h |
| Include Path | #include "MeshVertexAttributePaintToolBase.h" |
Syntax
class FMeshVertexAttributePaintToolData
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveWeightEditChangeTracker | TUniquePtr< UE::Geometry::FDynamicMeshChangeTracker > | MeshVertexAttributePaintToolBase.h | ||
| AttributeIndex | int32 | MeshVertexAttributePaintToolBase.h | ||
| PreChangeWeights | TArray< float > | MeshVertexAttributePaintToolBase.h | ||
| ToolDynamicMesh | TWeakObjectPtr< UDynamicMesh > | MeshVertexAttributePaintToolBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginChange() |
MeshVertexAttributePaintToolBase.h | ||
void CancelChange() |
MeshVertexAttributePaintToolBase.h | ||
TUniquePtr< UE::MeshVertexAttributePaintToolBase::Private::FMeshChange > EndChange() |
MeshVertexAttributePaintToolBase.h | ||
float GetAverageValue
(
const TArray< int32 >& Vertices |
MeshVertexAttributePaintToolBase.h | ||
int32 GetNumVerts() |
MeshVertexAttributePaintToolBase.h | ||
float GetPreChangeValue
(
int32 VertexIdx |
Stable baseline for gated-mode stamp reads. | MeshVertexAttributePaintToolBase.h | |
float GetValue
(
int32 VertexIdx |
MeshVertexAttributePaintToolBase.h | ||
bool IsValid() |
MeshVertexAttributePaintToolBase.h | ||
bool SetAttributeToEdit
(
int32 InNewAttributeIndex |
MeshVertexAttributePaintToolBase.h | ||
void Setup
(
UDynamicMesh* InToolDynamicMesh, |
MeshVertexAttributePaintToolBase.h | ||
void SetValue
(
int32 VertexIdx, |
MeshVertexAttributePaintToolBase.h | ||
void SnapshotAllValues
(
TArray< float >& OutSnapshot |
Bulk-read every vertex's current value into OutSnapshot, sized to MaxVertexID. | MeshVertexAttributePaintToolBase.h | |
| Sync PreChangeWeights to the current mesh attribute values (the "current weights"). | MeshVertexAttributePaintToolBase.h |