UCustomMeshComponent::AddCustomMeshTriangles

Add to the geometry to use on this triangle mesh.

Windows
MacOS
Linux

References

Module

CustomMeshComponent

Header

/Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h

Include

#include "CustomMeshComponent.h"

Source

/Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Private/CustomMeshComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Components|CustomMesh")
void AddCustomMeshTriangles
(
    const TArray< FCustomMeshTriangle > & Triangles
)

Remarks

Add to the geometry to use on this triangle mesh. This may cause an allocation. Use SetCustomMeshTriangles() instead when possible to reduce allocations.

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