UMaterial::FixCommentPositions

Shifts the positions of comments so that they are aligned correctly with other expressions

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 FixCommentPositions
(
    const TArray< UMaterialExpressionComment * > & Comments
)

Remarks

Shifts the positions of comments so that they are aligned correctly with other expressions

Parameters

Parameter

Description

Comments

Array of comments to fix

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