FBatchedElements::AddLine

Adds a line to the batch. only SE_BLEND_Opaque will be used for batched line rendering.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/BatchedElements.h

Include

#include "BatchedElements.h"

Source

/Engine/Source/Runtime/Engine/Private/BatchedElements.cpp

Syntax

void AddLine
(
    const FVector & Start,
    const FVector & End,
    const FLinearColor & Color,
    FHitProxyId HitProxyId,
    float Thickness,
    float DepthBias,
    bool bScreenSpace
)

Remarks

Adds a line to the batch.

only SE_BLEND_Opaque will be used for batched line rendering.