Module |
|
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
(
const TArray< UMaterialExpression * > & Expressions,
const TArray< UMaterialExpressionComment * > & Comments,
bool bScaleCoords,
UMaterial * Material
)
Flip the X coordinates of a material's expressions and space them out more
Parameter |
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) |