UMaterial::FlipExpressionPositions

Flip the X coordinates of a material's expressions and space them out more

Windows
MacOS
Linux

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

Syntax

static void FlipExpressionPositions
(
    const TArray< UMaterialExpression * > & Expressions,
    const TArray< UMaterialExpressionComment * > & Comments,
    bool bScaleCoords,
    UMaterial * Material
)

Remarks

Flip the X coordinates of a material's expressions and space them out more

Parameters

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss