Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptL-_1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
Enable Sculpt Layers on the Target Mesh, if not already enabled, with at least the requested number of layers. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Set the requested LayerIndex as the current active sculpt layer, if possible. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Set the weight of the layer at LayerIndex to the requested Weight. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Set the weights of multiple layers to match the given Weights array. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the weights of all sculpt layers on the mesh. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the number of sculpting layers active on the mesh. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the current sculpting layers active on the mesh, or -1 if the mesh does not have sculpting layers. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Discard all sculpt layer data, leaving current vertex positions unchanged. | GeometryScript/MeshSculptLayersFunctions.h |
|
static static UPARAM
(
DisplayName |
Merge a range of sculpt layers together. May change the Active Sculpt Layer. | GeometryScript/MeshSculptLayersFunctions.h |
|
UPARAM(DisplayName)
Description
Enable Sculpt Layers on the Target Mesh, if not already enabled, with at least the requested number of layers. Note: Will never decrease the number of enabled layers.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| NumLayers | The amount of layers that must be enabled on the mesh. Note: If this many layers (or more) are already enabled, the mesh will not be changed. |
UPARAM(DisplayName)
Description
Set the requested LayerIndex as the current active sculpt layer, if possible.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Set the weight of the layer at LayerIndex to the requested Weight.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Set the weights of multiple layers to match the given Weights array. Note: If the Weights array length is larger than the number of layers, will just set the weights of the existing layers. Will not add or remove layers.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Get the weights of all sculpt layers on the mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers", Meta=(ScriptMethod))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Get the number of sculpting layers active on the mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|SculptLayers")
static static UPARAM
(
DisplayName
) const
UPARAM(DisplayName)
Description
Get the current sculpting layers active on the mesh, or -1 if the mesh does not have sculpting layers.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintPure, Category="GeometryScript|SculptLayers")
static static UPARAM
(
DisplayName
) const
UPARAM(DisplayName)
Description
Discard all sculpt layer data, leaving current vertex positions unchanged.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug", Keywords="Delete Remove"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Merge a range of sculpt layers together. May change the Active Sculpt Layer.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSculptLayersFunctions.h |
| Include Path | #include "GeometryScript/MeshSculptLayersFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|SculptLayers",
Meta=(ScriptMethod, HidePin="Debug", Keywords="Combine"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| OutActiveLayer | The active layer after layers have been merged. |
| MergeLayerStart | The first layer to merge |
| MergeLayerNum | The number of layers to merge. Note: If larger than the number of existing layers after MergeLayerStart, will be clamped as needed. |
| bUseWeights | If true, layers will be merged based on their current weights keeping the mesh shape unchanged. Otherwise, layers will be merged with weight 1, which may change the shape of the mesh. |