Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_MeshMaterialFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshMaterialFunctions.h |
| Include Path | #include "GeometryScript/MeshMaterialFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_Materials"))
class UGeometryScriptLibrary_MeshMaterialFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_MeshMaterialFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCompactDuplicateMaterials | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialInterface * > int bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | FGeometryScriptGroupLayer int bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | int bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | int int bool bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | int int bool | GeometryScript/MeshMaterialFunctions.h | ||
| bDeferChangeNotifications | FGeometryScriptMeshSelection int bool | GeometryScript/MeshMaterialFunctions.h | ||
| bHasMaterialIDs | bool & | GeometryScript/MeshMaterialFunctions.h | ||
| bHasMaterialIDs | FGeometryScriptIndexList bool & | GeometryScript/MeshMaterialFunctions.h | ||
| bIsValidTriangle | int int bool & | GeometryScript/MeshMaterialFunctions.h | ||
| bIsValidTriangle | int bool & | GeometryScript/MeshMaterialFunctions.h | ||
| bRemoveDuplicateMaterials | TArray< UMaterialInterface * > TArray< UMaterialInterface * > bool | GeometryScript/MeshMaterialFunctions.h | ||
| ClearValue | int | GeometryScript/MeshMaterialFunctions.h | ||
| CombinedMaterials | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| CompactedMaterialList | TArray< UMaterialInterface * > TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | int UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | TArray< UMaterialInterface * > TArray< UMaterialInterface * > bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | FGeometryScriptMeshSelection int bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | int int bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | int int UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialInterface * > int bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | int bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | FGeometryScriptGroupLayer int bool UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| Debug | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > int UGeometryScriptDebug * | GeometryScript/MeshMaterialFunctions.h | ||
| FromMaterialID | int | GeometryScript/MeshMaterialFunctions.h | ||
| FromMaterialList | const TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| GroupLayer | FGeometryScriptGroupLayer | GeometryScript/MeshMaterialFunctions.h | ||
| MaterialID | FGeometryScriptGroupLayer int | GeometryScript/MeshMaterialFunctions.h | ||
| MaterialID | int int | GeometryScript/MeshMaterialFunctions.h | ||
| MaterialID | int | GeometryScript/MeshMaterialFunctions.h | ||
| MaterialID | FGeometryScriptMeshSelection int | GeometryScript/MeshMaterialFunctions.h | ||
| MaterialIDList | FGeometryScriptIndexList & | GeometryScript/MeshMaterialFunctions.h | ||
| MissingMaterialID | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > int | GeometryScript/MeshMaterialFunctions.h | ||
| NumDeleted | int int & | GeometryScript/MeshMaterialFunctions.h | ||
| RemapInvalidMaterialID | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > TArray< UMaterialInterface * > int | GeometryScript/MeshMaterialFunctions.h | ||
| RequiredMaterials | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| Selection | FGeometryScriptMeshSelection | GeometryScript/MeshMaterialFunctions.h | ||
| SourceMaterialList | TArray< UMaterialInterface * > | GeometryScript/MeshMaterialFunctions.h | ||
| TargetMeshMaterials | const TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| ToMaterialID | int int | GeometryScript/MeshMaterialFunctions.h | ||
| ToMaterialList | const TArray< UMaterialInterface * > const TArray< UMaterialInterface * > & | GeometryScript/MeshMaterialFunctions.h | ||
| TriangleID | int | GeometryScript/MeshMaterialFunctions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
int UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
static UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
FGeometryScriptGroupLayer UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h | ||
FGeometryScriptGroupLayer int UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
GeometryScript/MeshMaterialFunctions.h |
|
|
static 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]. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Delete all triangles in TargetMesh with the given MaterialID | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Set a new MaterialID on all the triangles of TargetMesh with the given PolyGroup. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Set a new MaterialID on all the triangles of the given Selection. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Assigns the Material ID to all the triangles specified by the Triangle ID List. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Sets the Material ID of all triangles in a mesh to the values in an input Index List. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Assigns the specified triangle the given Material ID. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Populates Triangle ID List with the Triangle IDs of triangles that share the specified Material ID in the Target Mesh. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns an Index List of all triangle Material IDs, constructed with one entry for each consecutive Triangle ID. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
This populates the MaterialIDList with Material IDs for each triangle in the TriangleIDList. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Returns the current Material ID for a Triangle. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Remap material IDs to be consistent with a Required Materials list. | GeometryScript/MeshMaterialFunctions.h |
|
static 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. | GeometryScript/MeshMaterialFunctions.h |
|
static 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). | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Resets all Material IDs on a mesh to the given ClearValue, or 0 if no ClearValue is provided. | GeometryScript/MeshMaterialFunctions.h |
|
static static UPARAM
(
DisplayName |
Enables per-triangle Material IDs on a mesh and initializes the values to 0. | GeometryScript/MeshMaterialFunctions.h |
|