UProceduralMeshComponent::CreateMeshSection

Choose your operating system:

Windows

macOS

Linux

References

Module

ProceduralMeshComponent

Header

/Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Public/ProceduralMeshComponent.h

Include

#include "ProceduralMeshComponent.h"

Source

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

Syntax

void CreateMeshSection
(
    int32 SectionIndex,
    const TArray< FVector > & Vertices,
    const TArray< int32 > & Triangles,
    const TArray< FVector > & Normals,
    const TArray< FVector2D > & UV0,
    const TArray< FVector2D > & UV1,
    const TArray< FVector2D > & UV2,
    const TArray< FVector2D > & UV3,
    const TArray< FColor > & VertexColors,
    const TArray< FProcMeshTangent > & Tangents,
    bool bCreateCollision
)