Navigation
API > API/Plugins > API/Plugins/MeshModelingTools
| Name | UMeshSculptLayerProperties |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/MeshSculptLayerProperties.h |
| Include Path | #include "Properties/MeshSculptLayerProperties.h" |
Syntax
UCLASS (MinimalAPI)
class UMeshSculptLayerProperties : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMeshSculptLayerProperties
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveLayer | int32 | Set the active mesh layer | Properties/MeshSculptLayerProperties.h |
|
| bCanEditLayers | bool | Properties/MeshSculptLayerProperties.h |
|
|
| LayerWeights | TArray< double > | Set the mesh layer weights | Properties/MeshSculptLayerProperties.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InitialMesh | TSharedPtr< FDynamicMesh3 > | Mesh before layer change has been applied. | Properties/MeshSculptLayerProperties.h | |
| NumLockedBaseLayers | int32 | Properties/MeshSculptLayerProperties.h | ||
| Tool | IModelingToolExternalDynamicMeshUpdateAPI * | Properties/MeshSculptLayerProperties.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddLayer() |
Add a sculpt layer | Properties/MeshSculptLayerProperties.h | |
FName GetLayerName
(
const int32 InIndex |
Return the name of the sculpt layer at the provided index | Properties/MeshSculptLayerProperties.h |
|
int32 GetNumLockedBaseLayers() |
Properties/MeshSculptLayerProperties.h | ||
void Init
(
IModelingToolExternalDynamicMeshUpdateAPI* InTool, |
Properties/MeshSculptLayerProperties.h | ||
void MoveLayer
(
const int32 InInitIndex, |
Move the layer at the first provided index to the location provided by the second index | Properties/MeshSculptLayerProperties.h |
|
bool RemoveLayer() |
Remove the active sculpt layer | Properties/MeshSculptLayerProperties.h | |
bool RemoveLayerAtIndex
(
const int32 IndexOfLayerToRemove |
Remove the sculpt layer at the provided index | Properties/MeshSculptLayerProperties.h |
|
void SetActiveLayer
(
const int32 InIndex |
Sets the currently active sculpt layer to be the one at the provided index | Properties/MeshSculptLayerProperties.h |
|
void SetLayerName
(
const int32 InIndex, |
Set the name of the layer at the provided index to the provided name | Properties/MeshSculptLayerProperties.h |
|
void SetLayerWeight
(
const int32 InIndex, |
Sets the weight of the layer at the provided index to the provided weight | Properties/MeshSculptLayerProperties.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Properties/MeshSculptLayerProperties.h |