UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBatchedMesh Struct Reference

#include <LineBatchComponent.h>

Public Member Functions

 FBatchedMesh ()=default
 
 FBatchedMesh (TArray< FVector > const &InMeshVerts, TArray< int32 > const &InMeshIndices, FColor const &InColor, uint8 InDepthPriority, float LifeTime, uint32 InBatchID=0)
 

Public Attributes

TArray< FVectorMeshVerts
 
TArray< int32MeshIndices
 
FColor Color
 
float RemainingLifeTime = 0.f
 
uint8 DepthPriority = 0
 
uint32 BatchID = 0
 

Constructor & Destructor Documentation

◆ FBatchedMesh() [1/2]

FBatchedMesh::FBatchedMesh ( )
default

◆ FBatchedMesh() [2/2]

FBatchedMesh::FBatchedMesh ( TArray< FVector > const &  InMeshVerts,
TArray< int32 > const &  InMeshIndices,
FColor const &  InColor,
uint8  InDepthPriority,
float  LifeTime,
uint32  InBatchID = 0 
)
inline

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

Member Data Documentation

◆ BatchID

uint32 FBatchedMesh::BatchID = 0

◆ Color

FColor FBatchedMesh::Color

◆ DepthPriority

uint8 FBatchedMesh::DepthPriority = 0

◆ MeshIndices

TArray<int32> FBatchedMesh::MeshIndices

◆ MeshVerts

TArray<FVector> FBatchedMesh::MeshVerts

◆ RemainingLifeTime

float FBatchedMesh::RemainingLifeTime = 0.f

The documentation for this struct was generated from the following file: