Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
Include | #include "Materials/Material.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
static void FlipExpressionPositions
&40;
TConstArrayView< TObjectPtr< UMaterialExpression >> Expressions,
TConstArrayView< TObjectPtr< UMaterialExpressionComment >> Comments,
bool bScaleCoords,
UMaterial &42; Material
&41;
Remarks
Flip the X coordinates of a material's expressions and space them out more
Parameters
Name | Description |
---|---|
Expressions | Array of material expressions |
Comments | Array of material expression comments |
bScaleCoords | Whether to scale the coordinates to space out nodes |
Material | The Material to flip its home coords (optional) |