UTriangleSetComponent::AddQuad

Add a Quad (two triangles) with the given vertices, normal, Color, and Material

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

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

Include

#include "Drawing/TriangleSetComponent.h"

Source

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

Syntax

FIndex2i AddQuad
(
    const FVector & A,
    const FVector & B,
    const FVector & C,
    const FVector & D,
    const FVector & Normal,
    const FColor & Color,
    UMaterialInterface * Material
)

Remarks

Add a Quad (two triangles) with the given vertices, normal, Color, and Material

Returns

ID of the two triangles created

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