I’m drawing lines with PersistentLineBatcher.
I didn’t set life time, so it does not disappear, but how can I stop to draw them?
I want to disable them when I want to.
Hi. Check function DrawLine, argument LifeTime:
ULineBatchComponent::DrawLine(const FVector& Start, const FVector& End, const FLinearColor& Color, uint8 DepthPriority, const float Thickness, const float LifeTime)