Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshMaterialFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshMaterialFunctions.h |
| Include | #include "GeometryScript/MeshMaterialFunctions.h" |
Syntax
UCLASS (Meta=(ScriptName="GeometryScript_Materials"))
class UGeometryScriptLibrary_MeshMaterialFunctions : public UBlueprintFunctionLibrary
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialI... | bCompactDuplicateMaterials | ||
| FGeometryScriptGroupLayer int bool | bDeferChangeNotifications | ||
| int bool | bDeferChangeNotifications | ||
| bool | bDeferChangeNotifications | ||
| int int bool bool | bDeferChangeNotifications | ||
| int int bool | bDeferChangeNotifications | ||
| FGeometryScriptMeshSelection int bool | bDeferChangeNotifications | ||
| bool & | bHasMaterialIDs | ||
| FGeometryScriptIndexList bool & | bHasMaterialIDs | ||
| int int bool & | bIsValidTriangle | ||
| int bool & | bIsValidTriangle | ||
| TArray< UMaterialInterface * > TArray< UMaterialInterface * > bool | bRemoveDuplicateMaterials | ||
| int | ClearValue | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialI... | CombinedMaterials | ||
| TArray< UMaterialInterface * > TArray< UMaterialInterface * > & | CompactedMaterialList | ||
| UGeometryScriptDebug * | Debug | ||
| bool UGeometryScriptDebug * | Debug | ||
| int UGeometryScriptDebug * | Debug | ||
| TArray< UMaterialInterface * > TArray< UMaterialInterface * > bool UGeometryScriptDebug *... | Debug | ||
| FGeometryScriptMeshSelection int bool UGeometryScriptDebug * | Debug | ||
| int int bool UGeometryScriptDebug * | Debug | ||
| int int UGeometryScriptDebug * | Debug | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialI... | Debug | ||
| int bool UGeometryScriptDebug * | Debug | ||
| FGeometryScriptGroupLayer int bool UGeometryScriptDebug * | Debug | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > int UGeometryScrip... | Debug | ||
| int | FromMaterialID | ||
| const TArray< UMaterialInterface * > & | FromMaterialList | ||
| FGeometryScriptGroupLayer | GroupLayer | ||
| FGeometryScriptGroupLayer int | MaterialID | ||
| int int | MaterialID | ||
| int | MaterialID | ||
| FGeometryScriptMeshSelection int | MaterialID | ||
| FGeometryScriptIndexList & | MaterialIDList | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > int | MissingMaterialID | ||
| int int & | NumDeleted | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialI... | RemapInvalidMaterialID | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > & | RequiredMaterials | ||
| FGeometryScriptMeshSelection | Selection | ||
| TArray< UMaterialInterface * > | SourceMaterialList | ||
| const TArray< UMaterialInterface * > & | TargetMeshMaterials | ||
| int int | ToMaterialID | ||
| const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > & | ToMaterialList | ||
| int | TriangleID |
Functions
| Type | Name | Description | |
|---|---|---|---|
| static | UPARAM
(
DisplayName |
||
| static | UPARAM
(
DisplayName |
||
| static | UPARAM
(
DisplayName |
||
| int | UPARAM
(
DisplayName |
||
| static | UPARAM
(
DisplayName |
||
| static | UPARAM
(
DisplayName |
||
| static | UPARAM
(
DisplayName |
Compact the MaterialIDs of the TargetMesh, ie remove any un-used MaterialIDs and remap the remaining N in-use MaterialIDs to the range [0,N-1]. | |
| static | UPARAM
(
DisplayName |
Delete all triangles in TargetMesh with the given MaterialID | |
| static | UPARAM
(
DisplayName |
Set a new MaterialID on all the triangles of TargetMesh with the given PolyGroup. | |
| static | UPARAM
(
DisplayName |
Set a new MaterialID on all the triangles of the given Selection. | |
| static | UPARAM
(
DisplayName |
Assigns the Material ID to all the triangles specified by the Triangle ID List. | |
| static | UPARAM
(
DisplayName |
Sets the Material ID of all triangles in a mesh to the values in an input Index List. | |
| static | UPARAM
(
DisplayName |
Assigns the specified triangle the given Material ID. | |
| static | UPARAM
(
DisplayName |
Populates Triangle ID List with the Triangle IDs of triangles that share the specified Material ID in the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Returns an Index List of all triangle Material IDs, constructed with one entry for each consecutive Triangle ID. | |
| static | UPARAM
(
DisplayName |
This populates the MaterialIDList with Material IDs for each triangle in the TriangleIDList. | |
| static | UPARAM
(
DisplayName |
Returns the current Material ID for a Triangle. | |
| static | UPARAM
(
DisplayName |
Remap material IDs to be consistent with a Required Materials list. | |
| static | UPARAM
(
DisplayName |
Remap the Material IDs of the TargetMesh to a new set of Material IDs based on a 'From'/Current Material List, and a New Material List. | |
| static | UPARAM
(
DisplayName |
For all triangles with a Material ID matching the given value (From Material ID), update the Material ID to the new value (To Material ID). | |
| static | UPARAM
(
DisplayName |
Resets all Material IDs on a mesh to the given ClearValue, or 0 if no ClearValue is provided. | |
| static | UPARAM
(
DisplayName |
Enables per-triangle Material IDs on a mesh and initializes the values to 0. | |
| FGeometryScriptGroupLayer | UPARAM
(
DisplayName |
||
| FGeometryScriptGroupLayer int | UPARAM
(
DisplayName |