UPreviewGeometry::SetLineSetMaterial

Set the Material of the LineSetComponent with the given LineSetIdentifier

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PreviewGeometryActor.h

Include

#include "Drawing/PreviewGeometryActor.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/PreviewGeometryActor.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)()
bool SetLineSetMaterial
(
    const FString & LineSetIdentifier,
    UMaterialInterface * NewMaterial
)

Remarks

Set the Material of the LineSetComponent with the given LineSetIdentifier

Returns

true if the LineSetComponent was found and updated

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