NewLineDistance
Introduction
Code Example (2D Camera/Layer)
// Assuming a 2D camera:
Text text = TextManager.AddText("Regular\nnewline");
Text otherText = TextManager.AddText("Modified\nnewline");
otherText.X = 150;
otherText.NewLineDistance = 30;Code Example (3D Camera/Layer)
NewlineDistance rounds to whole numbers if AdjustPositionForPixelPerfectDrawing is true
Last updated
Was this helpful?