FBatchedMesh::FBatchedMesh

MeshVerts - linear array of world space vertex positions MeshIndices - array of indices into MeshVerts.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/LineBatchComponent.h

Include

#include "Components/LineBatchComponent.h"

Syntax

FBatchedMesh
(
    TArray< FVector > const & InMeshVerts,
    TArray< int32 > const & InMeshIndices,
    FColor const & InColor,
    uint8 InDepthPriority,
    float LifeTime
)

Remarks

MeshVerts - linear array of world space vertex positions MeshIndices - array of indices into MeshVerts. Each triplet is a tri. i.e. [0,1,2] is first tri, [3,4,5] is 2nd tri, etc