UTriangleSetComponent::AddTriangle

Add a triangle 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

int32 AddTriangle
(
    const FVector & A,
    const FVector & B,
    const FVector & C,
    const FVector & Normal,
    const FColor & Color,
    UMaterialInterface * Material
)

Remarks

Add a triangle with the given vertices, normal, Color, and Material

Returns

ID of the triangle 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