Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_MeshWeigh-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
Find or add a weight layer with the requested name. | GeometryScript/MeshWeightMapFunctions.h |
|
static static UPARAM
(
DisplayName |
Remove the requested weight layer, if present. | GeometryScript/MeshWeightMapFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the values of a given mesh weight map as a scalar list | GeometryScript/MeshWeightMapFunctions.h |
|
static static UPARAM
(
DisplayName |
Set the values of a given mesh weight map from a scalar list. | GeometryScript/MeshWeightMapFunctions.h |
|
static static UPARAM
(
DisplayName |
Set all weights in the given layer to a constant value | GeometryScript/MeshWeightMapFunctions.h |
|
static static UPARAM
(
DisplayName |
Set the weights on selected vertices to a constant value. | GeometryScript/MeshWeightMapFunctions.h |
|
UPARAM(DisplayName)
Description
Find or add a weight layer with the requested name.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Remove the requested weight layer, if present.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Get the values of a given mesh weight map as a scalar list
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| WeightValues | The weights of each vertex in the Target Mesh |
| bSkipGaps | Whether to skip invalid vertex IDs in a non-compact mesh. |
| bHasVertexIDGaps | Whether any values in the list correspond to 'skipped' vertices. Will only be true if SkipGaps is false, and the Target Mesh is non-compact. |
UPARAM(DisplayName)
Description
Set the values of a given mesh weight map from a scalar list.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|MeshQueries",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| WeightValues | The weights to set on each vertex in the Target Mesh. Length must be the same as Target Mesh's Max Vertex ID, or the Vertex Count if Skip Gaps is true. |
| bSkipGaps | Whether to skip invalid vertex IDs in a non-compact mesh |
UPARAM(DisplayName)
Description
Set all weights in the given layer to a constant value
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|VertexColor",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| Weight | The constant value to set |
UPARAM(DisplayName)
Description
Set the weights on selected vertices to a constant value.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshWeightMapFunctions.h |
| Include Path | #include "GeometryScript/MeshWeightMapFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|VertexColor",
Meta=(ScriptMethod, HidePin="Debug"))
static static UPARAM
(
DisplayName
)
Parameters
| Name | Remarks |
|---|---|
| Weight | The constant weight to set |